Fix: Restore sshKeyPaths to use the user's key instead of root's.
This commit is contained in:
parent
db69e5a83d
commit
32ceed3318
@ -1,7 +1,7 @@
|
|||||||
{ sys, pkgs, inputs, flake, ... }: {
|
{ sys, pkgs, inputs, flake, ... }: {
|
||||||
imports = [ inputs.sops-nix.nixosModules.sops ];
|
imports = [ inputs.sops-nix.nixosModules.sops ];
|
||||||
sops = {
|
sops = {
|
||||||
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
age.sshKeyPaths = [ "${sys.ssh.path}/${sys.ssh.privateKey}" ];
|
||||||
#age.keyFile = "/home/${sys.username}/.config/sops/age/keys.txt"; # This file is expected to be provided from outside the nix-store
|
#age.keyFile = "/home/${sys.username}/.config/sops/age/keys.txt"; # This file is expected to be provided from outside the nix-store
|
||||||
age.generateKey = false;
|
age.generateKey = false;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user