modularise the stuff
This commit is contained in:
parent
011009d22f
commit
d1bcbc0fde
16 changed files with 159 additions and 61 deletions
11
lib/home.nix
11
lib/home.nix
|
|
@ -19,6 +19,9 @@
|
|||
(import ./modules/email.nix { inherit user userName; })
|
||||
(import ./modules/git.nix { inherit user userName; })
|
||||
(import ./modules/laptop.nix { inherit user; })
|
||||
(import ./modules/dev.nix { inherit user; })
|
||||
(import ./modules/personal.nix { inherit user; })
|
||||
(import ./modules/gamer.nix { inherit user; })
|
||||
./scripts.nix
|
||||
../system/global/system.nix
|
||||
../system/${name}/system.nix
|
||||
|
|
@ -32,6 +35,10 @@
|
|||
|
||||
roles.laptop.enable = laptop;
|
||||
roles.work.enable = work;
|
||||
roles.git.enable = true;
|
||||
roles.personal.enable = !work;
|
||||
displays = {
|
||||
enable = true;
|
||||
displays = displays;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue