diff --git a/dotfiles/modules/sops.nix b/dotfiles/modules/sops.nix index 4fa93e3a..b5469966 100644 --- a/dotfiles/modules/sops.nix +++ b/dotfiles/modules/sops.nix @@ -1,7 +1,10 @@ { sys, pkgs, inputs, flake, ... }: { imports = [ inputs.sops-nix.nixosModules.sops ]; sops = { - age.sshKeyPaths = [ "/home/${sys.username}/${sys.ssh.privateKey}" ]; + age.sshKeyPaths = [ + "/home/${sys.username}/${sys.ssh.privateKey}" + "/etc/ssh/ssh_host_ed25519_key" + ]; age.generateKey = false; };