26 lines
600 B
Nix
26 lines
600 B
Nix
{
|
|
self,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
config = {
|
|
facter.reportPath = ./facter.json;
|
|
system.stateVersion = "23.05";
|
|
users.users.root.openssh.authorizedKeys.keys = config.pim.ssh.keys.pim ++ config.pim.ssh.keys.niels;
|
|
sops.defaultSopsFile = "${self}/secrets/lewis/nixos.yaml";
|
|
environment.systemPackages = [pkgs.beets];
|
|
|
|
deployment = {
|
|
targetHost = "lewis";
|
|
targetUser = "root";
|
|
tags = ["server" "kubernetes"];
|
|
};
|
|
|
|
pim = {
|
|
k3s.serverAddr = "https://jefke.dmz:6443";
|
|
data-sharing.enable = true;
|
|
backups.enable = true;
|
|
};
|
|
};
|
|
}
|