modularise the stuff

This commit is contained in:
tristan 2023-05-08 16:59:12 +01:00
parent 011009d22f
commit d1bcbc0fde
16 changed files with 159 additions and 61 deletions

View file

@ -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;
};
}
}