materusPC & Old-materusPC: set "/materus" as needed for boot to fix sops

This commit is contained in:
2024-04-19 19:54:06 +02:00
parent d90b32d282
commit fd3599f7f3
4 changed files with 13 additions and 6 deletions
@@ -8,8 +8,9 @@
sops.age.generateKey = false;
sops.gnupg.home = null;
sops.gnupg.sshKeyPaths = [ ];
sops.age.sshKeyPaths = [ "/materus/root/ssh_host_ed25519_key" ];
sops.defaultSopsFile = materusCfg.hostPath + "/secrets/secrets.yaml";
sops.secrets."users/materus" = { };
sops.secrets."users/materus" = { neededForUsers = true; };
sops.secrets.wireguard = { };
services.openssh.hostKeys = [
@@ -23,5 +24,4 @@
type = "ed25519";
}
];
}