2023-06-07 08:34:16 +02:00
|
|
|
{ self, ... }:
|
|
|
|
{ modulesPath, ... }: {
|
|
|
|
imports = [
|
|
|
|
(modulesPath + "/virtualisation/proxmox-lxc.nix")
|
|
|
|
|
|
|
|
../../users/root
|
|
|
|
../../users/erwin
|
|
|
|
];
|
|
|
|
|
|
|
|
eboskma = {
|
|
|
|
users.erwin = {
|
|
|
|
enable = true;
|
|
|
|
server = true;
|
|
|
|
};
|
|
|
|
adguard = {
|
|
|
|
enable = true;
|
|
|
|
upstreams = [
|
|
|
|
"127.0.0.1:5335"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
nix-common = {
|
|
|
|
enable = true;
|
|
|
|
remote-builders = true;
|
|
|
|
};
|
|
|
|
unbound.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
services.resolved.extraConfig = ''
|
|
|
|
DNSStubListener=no
|
|
|
|
'';
|
|
|
|
|
|
|
|
time.timeZone = "Europe/Amsterdam";
|
|
|
|
|
|
|
|
system.configurationRevision = self.inputs.nixpkgs.lib.mkIf (self ? rev) self.rev;
|
|
|
|
|
|
|
|
proxmoxLXC = {
|
|
|
|
privileged = true;
|
|
|
|
};
|
|
|
|
|
2023-07-05 10:08:42 +02:00
|
|
|
networking.firewall.trustedInterfaces = [ "tailscale0" ];
|
|
|
|
|
2023-06-07 08:34:16 +02:00
|
|
|
security.sudo.execWheelOnly = true;
|
|
|
|
|
|
|
|
services.tailscale.enable = true;
|
|
|
|
|
|
|
|
system.stateVersion = "23.11";
|
|
|
|
}
|