mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-06-10 02:05:56 +00:00
Compare commits
No commits in common. "3e7b00c94f85a0cfe388946c95d937f04b9bc371" and "5be1c37d3cede53a5f196b726a97b3a81bbe84a8" have entirely different histories.
3e7b00c94f
...
5be1c37d3c
3 changed files with 3 additions and 16 deletions
|
|
@ -74,7 +74,7 @@ in
|
|||
gnumake
|
||||
cmake
|
||||
|
||||
#linux-manual # Broken as of 2026-03-22
|
||||
linux-manual
|
||||
man-pages
|
||||
man-pages-posix
|
||||
|
||||
|
|
|
|||
|
|
@ -34,14 +34,14 @@ in
|
|||
with pkgs;
|
||||
[ ]
|
||||
++ [
|
||||
libva-vdpau-driver
|
||||
vaapiVdpau
|
||||
libvdpau-va-gl
|
||||
|
||||
intel-graphics-compiler
|
||||
intel-compute-runtime
|
||||
]
|
||||
++ optional cfg.iHD intel-media-driver # LIBVA_DRIVER_NAME=iHD
|
||||
++ optional (!cfg.iHD) intel-vaapi-driver # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
|
||||
++ optional (!cfg.iHD) vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
|
||||
;
|
||||
};
|
||||
|
||||
|
|
|
|||
13
nix/nix.nix
13
nix/nix.nix
|
|
@ -92,19 +92,6 @@ 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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue