nix: Use nix-daemon to optimize store

This *shouldn't* have a negative impact on performance, and avoids
having to remember to optimize the store periodically.
This commit is contained in:
Donovan Glover 2023-06-06 08:15:33 -04:00
parent 41571e4354
commit 393e2cb241
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -22,6 +22,7 @@ in {
# nix
nix.package = pkgs.nixFlakes;
nix.settings.experimental-features = ["nix-command" "flakes" "repl-flake"];
nix.settings.auto-optimise-store = true;
hardware.opengl.driSupport32Bit = true;