create a generic server role
3 files changed, 9 insertions(+), 3 deletions(-)
M system/hosts/linde.nix → system/hosts/linde.nix
@@ -30,9 +30,8 @@ imports = [ # Include the results of the hardware scan. ./linde-hardware.nix - ../settings/configuration/nix-linux.nix + ../roles/server.nix ../settings/services/git-server.nix - ../settings/services/caddy.nix ]; age.secrets = { paperless =
M system/hosts/smrk.nix → system/hosts/smrk.nix
@@ -10,7 +10,7 @@ domain = "alin.ovh"; in { imports = [ - ../settings/configuration/nix-linux.nix + ../roles/server.nix ]; system.stateVersion = "25.11";
A system/roles/server.nix
@@ -0,0 +1,7 @@ +{ ... }: +{ + imports = [ + ../settings/configuration/nix-linux.nix + ../settings/services/caddy.nix + ]; +}