1
0
Fork 0
forked from emily/nixfiles
nixfiles-emily/config/lxc.nix

18 lines
376 B
Nix
Raw Normal View History

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";
}