add den pattern
This commit is contained in:
17
outputs.nix
17
outputs.nix
@@ -13,6 +13,21 @@ let
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
|
||||
moduleNames = [
|
||||
"ai"
|
||||
"core"
|
||||
"desktop"
|
||||
"development"
|
||||
"features"
|
||||
"gaming"
|
||||
"hardware"
|
||||
"multimedia"
|
||||
"networking"
|
||||
"security"
|
||||
"system"
|
||||
"work"
|
||||
];
|
||||
|
||||
mkHost =
|
||||
name:
|
||||
nixpkgs.lib.nixosSystem {
|
||||
@@ -27,7 +42,7 @@ let
|
||||
nix-flatpak.nixosModules.nix-flatpak
|
||||
home-manager.nixosModules.home-manager
|
||||
./hosts/${name}
|
||||
];
|
||||
] ++ (map (mod: ./modules/${mod}) moduleNames);
|
||||
};
|
||||
|
||||
in
|
||||
|
||||
Reference in New Issue
Block a user