2023-03-21 17:20:22 +01:00
|
|
|
{ self, ... }:
|
|
|
|
{ modulesPath, ... }: {
|
|
|
|
imports = [
|
|
|
|
(modulesPath + "/virtualisation/proxmox-lxc.nix")
|
|
|
|
../../users/root
|
|
|
|
../../users/erwin
|
|
|
|
];
|
|
|
|
|
|
|
|
eboskma = {
|
2023-04-09 23:20:58 +02:00
|
|
|
users.erwin = {
|
|
|
|
enable = true;
|
|
|
|
server = true;
|
|
|
|
};
|
2023-03-21 17:20:22 +01:00
|
|
|
services = {
|
|
|
|
frigate.enable = true;
|
|
|
|
};
|
|
|
|
nix-common = {
|
|
|
|
enable = true;
|
|
|
|
remote-builders = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
time.timeZone = "Europe/Amsterdam";
|
|
|
|
|
|
|
|
system.configurationRevision = self.inputs.nixpkgs.lib.mkIf (self ? rev) self.rev;
|
|
|
|
|
2023-09-06 16:58:54 +02:00
|
|
|
networking = { };
|
2023-03-21 17:20:22 +01:00
|
|
|
|
|
|
|
proxmoxLXC = {
|
|
|
|
privileged = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
security.sudo.execWheelOnly = true;
|
|
|
|
|
2023-05-23 17:12:31 +02:00
|
|
|
services.tailscale.enable = true;
|
2023-03-21 17:20:22 +01:00
|
|
|
|
|
|
|
sops.defaultSopsFile = ./secrets.yaml;
|
|
|
|
sops.secrets = {
|
|
|
|
frigate = { };
|
|
|
|
};
|
|
|
|
|
|
|
|
system.stateVersion = "23.05";
|
|
|
|
}
|