nixos-configs/machines/lewis/configuration.nix

27 lines
600 B
Nix
Raw Normal View History

2024-12-01 15:30:28 +00:00
{
self,
config,
2024-12-15 12:58:57 +00:00
pkgs,
2024-12-01 15:30:28 +00:00
...
}: {
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";
2024-12-15 12:58:57 +00:00
environment.systemPackages = [pkgs.beets];
2024-12-01 15:30:28 +00:00
deployment = {
targetHost = "lewis";
targetUser = "root";
tags = ["server" "kubernetes"];
};
pim = {
k3s.serverAddr = "https://jefke.dmz:6443";
data-sharing.enable = true;
backups.enable = true;
};
};
}