hosts: remove cr, move systems up directory

This commit is contained in:
Charlie Root 2024-09-09 11:11:53 +02:00
commit 081848ddfc
16 changed files with 3 additions and 2 deletions

View file

@ -16,10 +16,10 @@
concatLists [
# Derive host specific module path from the first argument of the
# function. Should be a string, obviously.
(singleton ./cr/${hostname}/default.nix)
(singleton ./${hostname}/default.nix)
# Recursively import all module trees (i.e. directories with a `module.nix`)
# for given moduleTree directories, and in addition, roles.
# for given moduleTree directories
(mkModuleTree' {path = ../modules;})
]
);

View file

@ -17,6 +17,7 @@
fstrim.enable = lib.mkDefault true;
thermald.enable = true;
auto-cpufreq.enable = true;
printing.enable = true;
};
modules = {