Re-organise hetznix configuration
This commit is contained in:
parent
8dd338d8d5
commit
2a331f5af1
|
@ -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
|
||||||
|
|
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