46 lines
797 B
Nix
46 lines
797 B
Nix
|
{ 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;
|
||
|
};
|
||
|
|
||
|
security.sudo.execWheelOnly = true;
|
||
|
|
||
|
services.tailscale.enable = true;
|
||
|
|
||
|
system.stateVersion = "23.11";
|
||
|
}
|