refactor: add default in device modules and put home state ver in common

This commit is contained in:
matt1432 2024-09-05 08:17:23 -04:00
parent 18d1178d85
commit e61ada3cd2
17 changed files with 72 additions and 64 deletions
devices/cluster/modules

View file

@ -0,0 +1,10 @@
{...}: {
imports = [
./blocky.nix
./caddy.nix
./headscale
./nfs-client.nix
./pcsd.nix
./unbound.nix
];
}

View file

@ -5,15 +5,7 @@
}: let
inherit (config.sops) secrets;
in {
imports = [
pcsd.nixosModules.default
./blocky.nix
./caddy.nix
./headscale
./nfs-client.nix
./unbound.nix
];
imports = [pcsd.nixosModules.default];
services.pcsd = {
enable = true;