nix: export nixos module
This commit is contained in:
parent
8a736599fd
commit
8009b35589
1 changed files with 5 additions and 0 deletions
|
@ -9,6 +9,11 @@
|
||||||
forEachSystem = nixpkgs.lib.genAttrs systems;
|
forEachSystem = nixpkgs.lib.genAttrs systems;
|
||||||
pkgsForEach = nixpkgs.legacyPackages;
|
pkgsForEach = nixpkgs.legacyPackages;
|
||||||
in {
|
in {
|
||||||
|
nixosModules = {
|
||||||
|
eris = import ./nix/module.nix self;
|
||||||
|
default = self.nixosModules.eris;
|
||||||
|
};
|
||||||
|
|
||||||
packages = forEachSystem (system: {
|
packages = forEachSystem (system: {
|
||||||
eris = pkgsForEach.${system}.callPackage ./nix/package.nix {};
|
eris = pkgsForEach.${system}.callPackage ./nix/package.nix {};
|
||||||
default = self.packages.${system}.eris;
|
default = self.packages.${system}.eris;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue