Re-organise hetznix configuration

This commit is contained in:
Oliver Davies 2025-01-05 14:00:48 +00:00
parent 8dd338d8d5
commit 2a331f5af1
19 changed files with 15 additions and 5 deletions

View file

@ -13,9 +13,8 @@
./disks.nix
./hardware-configuration.nix
./secrets.nix
./modules/acme.nix
./modules/caddy
./security
./services
];
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs-2405}" ];
@ -30,8 +29,6 @@
efiInstallAsRemovable = true;
};
services.openssh.enable = true;
environment.systemPackages = map lib.lowPrio [
pkgs.curl
pkgs.gitMinimal

View file

@ -0,0 +1,3 @@
{
imports = [ ./acme.nix ];
}

View file

@ -0,0 +1,10 @@
{
imports = [
./acme.nix
./caddy
];
services = {
openssh.enable = true;
};
}