From 588184d0805aeccdeff239622444866dbf9dbb3b Mon Sep 17 00:00:00 2001 From: Don Harper Date: Sat, 2 Dec 2023 22:04:58 -0600 Subject: [PATCH] workstation | tweak nix settings --- workstation/default.nix | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/workstation/default.nix b/workstation/default.nix index 68f67c1..e919dda 100644 --- a/workstation/default.nix +++ b/workstation/default.nix @@ -10,7 +10,18 @@ let python-with-my-packages = pkgs.python3Full.withPackages my-python-packages; in { - nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nix = { + settings = { + experimental-features = [ "nix-command" "flakes" ]; + warn-dirty = false; + auto-optimise-store = true; + trusted-users = [ "root" "don" ]; + }; + gc = { + automatic = true; + options = "-d"; + }; + }; imports = [ ./detect-reboot-needed.nix @@ -242,10 +253,6 @@ in }; }; }; - nix.gc = { - automatic = true; - options = "-d"; - }; xdg.mime.enable = true; xdg.mime.defaultApplications = { "text/html" = "org.qutebrowser.qutebrowser.desktop";