diff --git a/desktop/developer.nix b/desktop/developer.nix index 468b1ec..980c7b8 100644 --- a/desktop/developer.nix +++ b/desktop/developer.nix @@ -74,7 +74,7 @@ in gnumake cmake - linux-manual + #linux-manual # Broken as of 2026-03-22 man-pages man-pages-posix diff --git a/hardware/intel/default.nix b/hardware/intel/default.nix index fea8739..99e5c48 100644 --- a/hardware/intel/default.nix +++ b/hardware/intel/default.nix @@ -34,14 +34,14 @@ in with pkgs; [ ] ++ [ - vaapiVdpau + libva-vdpau-driver libvdpau-va-gl intel-graphics-compiler intel-compute-runtime ] ++ optional cfg.iHD intel-media-driver # LIBVA_DRIVER_NAME=iHD - ++ optional (!cfg.iHD) vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium) + ++ optional (!cfg.iHD) intel-vaapi-driver # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium) ; }; diff --git a/nix/nix.nix b/nix/nix.nix index 3d46e20..6ae66bb 100644 --- a/nix/nix.nix +++ b/nix/nix.nix @@ -92,6 +92,19 @@ in }; }; + systemd.services.nix-delete-generations = mkIf (config.aviallon.boot.configurationLimit != null) { + script = '' + nix-env --delete-generations +${toString config.aviallon.boot.configurationLimit} --profile /nix/var/nix/profiles/system + ''; + path = [ config.nix.package ]; + restartIfChanged = false; + reloadIfChanged = false; + startAt = "Sun 03:00:00"; + enableStrictShellChecks = true; + after = [ "multi-user.target" "nix-daemon.socket" ]; + wants = [ "multi-user.target" "nix-daemon.socket" ]; + }; + nix.package = optimizePkg { stdenv = pkgs.fastStdenv; level = "slower";