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

19 lines
424 B
Nix
Raw Normal View History

2024-01-10 13:32:18 +01:00
{ config, pkgs, lib, modulesPath, ... }:
with lib; {
imports = [
(modulesPath + "/virtualisation/proxmox-lxc.nix")
];
proxmoxLXC = {
manageNetwork = true;
manageHostName = true;
};
2024-01-11 12:43:58 +01:00
nixpkgs.hostPlatform.system = "x86_64-linux";
2024-01-10 13:32:18 +01:00
networking.useDHCP = false;
system.autoUpgrade.enable = true;
nix.optimise.automatic = true;
nix.gc.automatic = true;
nix.gc.options = "--delete-older-than 2d";
}