This commit is contained in:
Harald Hoyer 2026-01-17 14:48:45 +01:00
parent 271b15314c
commit 7f9248ad00
9 changed files with 354 additions and 32 deletions

View file

@ -27,11 +27,8 @@ with lib.metacfg;
sops.age.sshKeyPaths = [ "/var/lib/secrets/ssh_host_ed25519_key" ];
sops.secrets."wg".sopsFile = ../../../.secrets/x1/files.yaml;
sops.secrets."wg".mode = "0444";
sops.secrets."hosts".sopsFile = ../../../.secrets/x1/files.yaml;
sops.secrets."hosts".mode = "0444";
environment.etc."wg0.backup.conf".source = config.sops.secrets."wg".path;
environment.etc."hosts.backup".source = config.sops.secrets."hosts".path;
services.openssh = {
enable = true;