Deploy root's sops key by default
This commit is contained in:
parent
d5978e4d47
commit
0ce79b62eb
7 changed files with 4 additions and 15 deletions
|
@ -1,5 +1,6 @@
|
|||
{config, ...}: {
|
||||
config = {
|
||||
pim.k3s.clusterInit = true;
|
||||
facter.reportPath = ./facter.json;
|
||||
system.stateVersion = "23.05";
|
||||
users.users.root.openssh.authorizedKeys.keys = config.pim.ssh.keys.pim ++ config.pim.ssh.keys.niels;
|
||||
|
@ -9,10 +10,5 @@
|
|||
targetUser = "root";
|
||||
tags = ["server" "kubernetes"];
|
||||
};
|
||||
|
||||
pim = {
|
||||
sops-nix.usersWithSopsKeys = ["root"];
|
||||
k3s.clusterInit = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue