nixos-configs/machines/jefke/configuration.nix

21 lines
524 B
Nix
Raw Normal View History

2024-12-01 14:40:51 +00:00
{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;
};
};
}