diff options
Diffstat (limited to 'machines/profpatsch')
-rw-r--r-- | machines/profpatsch/shiki.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/machines/profpatsch/shiki.nix b/machines/profpatsch/shiki.nix index f554633b..048dd379 100644 --- a/machines/profpatsch/shiki.nix +++ b/machines/profpatsch/shiki.nix @@ -33,6 +33,15 @@ in { config = { + system.stateVersion = "23.11"; + + system.autoUpgrade = { + enable = true; + dates = "18:00"; + channel = "https://nixos.org/channels/nixos-23.11"; + allowReboot = false; + }; + ######### # Kernel @@ -49,6 +58,8 @@ in { boot.extraModprobeConfig = '' options v4l2loopback exclusive_caps=1 ''; + # make sure /boot does not run out of space + boot.loader.systemd-boot.configurationLimit = 20; ########### # Hardware @@ -65,10 +76,14 @@ in { options = ["nofail"]; }; + zramSwap.enable = true; + hardware.trackpoint = { speed = 280; }; + powerManagement.cpuFreqGovernor = "powersave"; + # hardware.pulseaudio = { # enable = true; # zeroconf.discovery.enable = true; |