From f25d3afbe9a2dd72e17b1c65ba3b6f9401c6706c Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Wed, 14 Feb 2024 14:22:08 +0100 Subject: machines/profpatsch: shiki hardware config & stateVersion --- machines/profpatsch/shiki.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'machines') 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; -- cgit 1.4.1