From abb565cace0c6428f2e2ba22aab75a6e0095fd8f Mon Sep 17 00:00:00 2001 From: ahtlon Date: Tue, 4 Mar 2025 21:04:56 +0100 Subject: [PATCH] [user module] set sops key path also this should be moved into a different module later i think --- machines/modules/malobeo/users.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/machines/modules/malobeo/users.nix b/machines/modules/malobeo/users.nix index 4f1b272..8776288 100644 --- a/machines/modules/malobeo/users.nix +++ b/machines/modules/malobeo/users.nix @@ -52,7 +52,13 @@ in }) { users.mutableUsers = false; - services.openssh.hostKeys = [{ path = "/etc/ssh/${hostName}"; type = "ssh-ed25519"; }]; + services.openssh.hostKeys = [ + { + path = "/etc/ssh/${hostName}"; + type = "ssh-ed25519"; + } + ]; + sops.age.sshKeyPaths = [ "/etc/ssh/${hostName}" ]; environment.systemPackages = with pkgs; [ nix-output-monitor vim