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