summaryrefslogtreecommitdiff
path: root/config/common.nix
diff options
context:
space:
mode:
Diffstat (limited to 'config/common.nix')
-rw-r--r--config/common.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/config/common.nix b/config/common.nix
index 873d94c..0221254 100644
--- a/config/common.nix
+++ b/config/common.nix
@@ -21,10 +21,15 @@
];
time.timeZone = "America/New_York";
+ services = {
+ openssh.passwordAuthentication = false;
+ };
+
nix = {
- useSandbox = true;
- maxJobs = 8;
- buildCores = 0; # auto configure
+ useSandbox = lib.mkDefault true;
+ maxJobs = lib.mkDefault 16;
+ buildCores = lib.mkDefault 0; # auto configure
+ gc.automatic = lib.mkDefault true;
};
boot.cleanTmpDir = true;