26 lines
562 B
Nix
26 lines
562 B
Nix
{ modulesPath, lib, ... }:
|
|
{
|
|
imports = [ (modulesPath + "/virtualisation/proxmox-lxc.nix") ];
|
|
|
|
config = {
|
|
# TODO is this needed?
|
|
# nix.settings.sandbox = false;
|
|
|
|
proxmoxLXC = {
|
|
manageNetwork = false;
|
|
privileged = false;
|
|
};
|
|
|
|
# Let Proxmox host handle fstrim
|
|
services.fstrim.enable = false;
|
|
|
|
# TODO is this needed
|
|
# Cache DNS lookups to improve performance
|
|
services.resolved.extraConfig = ''
|
|
Cache=true
|
|
CacheFromLocalhost=true
|
|
'';
|
|
|
|
boot.loader.systemd-boot.enable = lib.mkForce false;
|
|
};
|
|
}
|