21 lines
524 B
Nix
21 lines
524 B
Nix
|
{config, ...}: {
|
||
|
config = {
|
||
|
facter.reportPath = ./facter.json;
|
||
|
networking.hostName = "jefke";
|
||
|
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";
|
||
|
|
||
|
deployment = {
|
||
|
targetHost = "jefke";
|
||
|
targetUser = "root";
|
||
|
tags = ["server" "kubernetes"];
|
||
|
};
|
||
|
|
||
|
pim = {
|
||
|
sops-nix.usersWithSopsKeys = ["root"];
|
||
|
k3s.clusterInit = true;
|
||
|
};
|
||
|
};
|
||
|
}
|