2023-12-06 10:21:07 +01:00
|
|
|
{ config, pkgs, lib, modulesPath, ... }:
|
|
|
|
|
|
|
|
with lib; {
|
|
|
|
imports = [
|
|
|
|
(modulesPath + "/virtualisation/proxmox-lxc.nix")
|
|
|
|
];
|
|
|
|
proxmoxLXC = {
|
|
|
|
manageNetwork = true;
|
|
|
|
manageHostName = true;
|
|
|
|
};
|
2024-01-09 16:41:04 +01:00
|
|
|
networking.useDHCP = false;
|
|
|
|
|
2023-12-06 10:21:07 +01:00
|
|
|
system.autoUpgrade.enable = true;
|
|
|
|
nix.optimise.automatic = true;
|
|
|
|
nix.gc.automatic = true;
|
|
|
|
nix.gc.options = "--delete-older-than 2d";
|
|
|
|
}
|