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