nix: expose NixOS module in default flake outputs; cleanup
Some checks failed
Rust / build (push) Has been cancelled
Some checks failed
Rust / build (push) Has been cancelled
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I7457515ee7a96e11c9301e5b077afb446a6a6964
This commit is contained in:
parent
86d457b389
commit
63a81bb9d2
2 changed files with 29 additions and 5 deletions
|
|
@ -9,6 +9,11 @@
|
|||
forEachSystem = nixpkgs.lib.genAttrs systems;
|
||||
pkgsForEach = nixpkgs.legacyPackages;
|
||||
in {
|
||||
nixosModules = {
|
||||
eh = import ./nix/modules/nixos.nix self;
|
||||
default = self.nixosModules.eh;
|
||||
};
|
||||
|
||||
packages = forEachSystem (system: {
|
||||
eh = pkgsForEach.${system}.callPackage ./nix/package.nix {};
|
||||
default = self.packages.${system}.eh;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue