mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 23:29:08 +01:00
profiles: Introduce core, server and workstation profiles
This commit is contained in:
parent
1c0f293c3d
commit
100f02a2d8
15 changed files with 94 additions and 163 deletions
|
|
@ -11,8 +11,9 @@ let
|
|||
specialArgs = { inherit inputs self; };
|
||||
modules = [
|
||||
{ networking = { inherit hostName; }; }
|
||||
"${self}/hosts/common.nix"
|
||||
"${self}/hosts/${hostName}"
|
||||
"${self}/hosts/${hostName}/default.nix"
|
||||
"${self}/hosts/${hostName}/hardware.nix"
|
||||
"${self}/hosts/${hostName}/disko.nix"
|
||||
"${self}/users/seb"
|
||||
]
|
||||
++ lib.optional (lib.pathExists "${self}/users/seb/@${hostName}") "${self}/users/seb/@${hostName}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue