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