forked from emily/nixfiles
18 lines
376 B
Nix
18 lines
376 B
Nix
|
{ config, pkgs, lib, modulesPath, ... }:
|
||
|
|
||
|
with lib; {
|
||
|
imports = [
|
||
|
(modulesPath + "/virtualisation/proxmox-lxc.nix")
|
||
|
];
|
||
|
proxmoxLXC = {
|
||
|
manageNetwork = true;
|
||
|
manageHostName = true;
|
||
|
};
|
||
|
networking.useDHCP = false;
|
||
|
|
||
|
system.autoUpgrade.enable = true;
|
||
|
nix.optimise.automatic = true;
|
||
|
nix.gc.automatic = true;
|
||
|
nix.gc.options = "--delete-older-than 2d";
|
||
|
}
|