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";