flake: nixos: import common modules
This commit is contained in:
parent
fe6df44b85
commit
61c234d932
|
@ -12,6 +12,8 @@ let
|
||||||
}
|
}
|
||||||
# Include generic settings
|
# Include generic settings
|
||||||
"${self}/modules/nixos"
|
"${self}/modules/nixos"
|
||||||
|
# Import common modules
|
||||||
|
"${self}/modules/common"
|
||||||
];
|
];
|
||||||
|
|
||||||
buildHost = name: system: lib.nixosSystem {
|
buildHost = name: system: lib.nixosSystem {
|
||||||
|
@ -24,6 +26,8 @@ let
|
||||||
inherit (self) lib;
|
inherit (self) lib;
|
||||||
# Inject inputs to use them in global registry
|
# Inject inputs to use them in global registry
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
|
# For consumption by common modules
|
||||||
|
type = "nixos";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
Loading…
Reference in a new issue