Automatically set root user's sops key file
This commit is contained in:
parent
a4b8cd941d
commit
d5978e4d47
6 changed files with 3 additions and 16 deletions
|
@ -7,11 +7,7 @@
|
|||
facter.reportPath = ./facter.json;
|
||||
system.stateVersion = "23.05";
|
||||
users.users.root.openssh.authorizedKeys.keys = config.pim.ssh.keys.pim ++ config.pim.ssh.keys.niels;
|
||||
|
||||
sops = {
|
||||
age.keyFile = "/root/.config/sops/age/keys.txt";
|
||||
defaultSopsFile = "${self}/secrets/lewis/nixos.yaml";
|
||||
};
|
||||
sops.defaultSopsFile = "${self}/secrets/lewis/nixos.yaml";
|
||||
|
||||
deployment = {
|
||||
targetHost = "lewis";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue