Deploy root's sops key by default

This commit is contained in:
Pim Kunis 2024-12-01 17:15:01 +01:00
parent d5978e4d47
commit 0ce79b62eb
7 changed files with 4 additions and 15 deletions

View file

@ -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;
};
};
}