mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
mkSystems -> mkHosts
fixed nixosModules output
This commit is contained in:
parent
167f6ca7b3
commit
e33da6d843
3 changed files with 6 additions and 9 deletions
|
|
@ -20,8 +20,8 @@ inputs @ {
|
|||
name: {
|
||||
name = lib.pipe name [
|
||||
toString
|
||||
(lib.removePrefix "${path}/")
|
||||
(lib.removeSuffix ".nix")
|
||||
(lib.removePrefix "${toString path}/")
|
||||
];
|
||||
value = import name inputs;
|
||||
}
|
||||
|
|
@ -33,9 +33,10 @@ in {
|
|||
|
||||
withSystem = f:
|
||||
lib.fold lib.recursiveUpdate {}
|
||||
(map f ["x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"]);
|
||||
(map f ["x86_64-linux"]);
|
||||
#"x86_64-darwin" "aarch64-linux" "aarch64-darwin"
|
||||
|
||||
mkSystems = system: names:
|
||||
mkHosts = system: names:
|
||||
lib.genAttrs names (
|
||||
name:
|
||||
lib.nixosSystem {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue