Re-organise hetznix configuration
This commit is contained in:
parent
8dd338d8d5
commit
2a331f5af1
|
@ -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
|
||||
|
|
3
nix/hosts/hetznix/security/default.nix
Normal file
3
nix/hosts/hetznix/security/default.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
imports = [ ./acme.nix ];
|
||||
}
|
10
nix/hosts/hetznix/services/default.nix
Normal file
10
nix/hosts/hetznix/services/default.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
imports = [
|
||||
./acme.nix
|
||||
./caddy
|
||||
];
|
||||
|
||||
services = {
|
||||
openssh.enable = true;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue