nixos-config/machines/valkyrie/configuration.nix

47 lines
858 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;
};
networking.firewall.trustedInterfaces = [ "tailscale0" ];
security.sudo.execWheelOnly = true;
services.tailscale.enable = true;
system.stateVersion = "23.11";
}