21 lines
585 B
Nix
21 lines
585 B
Nix
{config, ...}: {
|
|
config = {
|
|
facter.reportPath = ./facter.json;
|
|
# TODO: should set this automatically
|
|
system.stateVersion = "23.05";
|
|
users.users.root.openssh.authorizedKeys.keys = config.pim.ssh.keys.pim ++ config.pim.ssh.keys.niels;
|
|
# TODO: set this as a default?
|
|
sops.age.keyFile = "/root/.config/sops/age/keys.txt";
|
|
|
|
deployment = {
|
|
targetHost = "atlas";
|
|
targetUser = "root";
|
|
tags = ["server" "kubernetes"];
|
|
};
|
|
|
|
pim = {
|
|
sops-nix.usersWithSopsKeys = ["root"];
|
|
k3s.serverAddr = "https://jefke.dmz:6443";
|
|
};
|
|
};
|
|
}
|