From d649c49f0e13471fbd3d059ea084083d4b72ffb4 Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Tue, 5 May 2026 10:25:41 +0200 Subject: [PATCH 1/3] fix(hardware/intel): rename vaapiVdpau and vaapiIntel to libva-vdpau-driver and intel-vaapi-driver --- hardware/intel/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) ; }; From 55288bff6af682bb706b8dbec598f6a16e3ba71a Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Tue, 5 May 2026 12:10:55 +0200 Subject: [PATCH 2/3] feat(nix): add automatic generation deletion based on configurationLimit. Seriously, it should be the default --- nix/nix.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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"; From 3e7b00c94f85a0cfe388946c95d937f04b9bc371 Mon Sep 17 00:00:00 2001 From: Antoine VIALLON Date: Sun, 22 Mar 2026 22:13:44 +0100 Subject: [PATCH 3/3] fix(desktop/developer): remove linux-manual from systemPackages, as it is currently broken --- desktop/developer.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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