summary refs log tree commit diff stats
path: root/system/settings/configuration/nix.nix
diff options
context:
space:
mode:
authorAlan Pearce2022-10-07 22:45:00 +0200
committerAlan Pearce2022-10-08 01:36:11 +0200
commitba1fcdddc1eee9b740dfb6c5f931cb489dae66ee (patch)
tree1b276eaa9a511d87d667ae2b540bf701969d98d6 /system/settings/configuration/nix.nix
parent9451fdc13c2af6b0ff74a045127d8f0d0caf06ba (diff)
downloadnixfiles-ba1fcdddc1eee9b740dfb6c5f931cb489dae66ee.tar.lz
nixfiles-ba1fcdddc1eee9b740dfb6c5f931cb489dae66ee.tar.zst
nixfiles-ba1fcdddc1eee9b740dfb6c5f931cb489dae66ee.zip
Update to NixOS unstable
Diffstat (limited to 'system/settings/configuration/nix.nix')
-rw-r--r--system/settings/configuration/nix.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/system/settings/configuration/nix.nix b/system/settings/configuration/nix.nix
index f4756d58..f152ac27 100644
--- a/system/settings/configuration/nix.nix
+++ b/system/settings/configuration/nix.nix
@@ -1,21 +1,21 @@
 { config, pkgs, ... }:
 
 { nix = {
-    buildCores = 0;
+    settings = {
+      cores = 0;
+      auto-optimise-store = true;
+      trusted-users = [ "@wheel" ];
+    };
 
     daemonCPUSchedPolicy = "idle";
     daemonIOSchedClass = "idle";
 
-    trustedUsers = [ "@wheel" ];
-
-    package = pkgs.nixFlakes;
     extraOptions = ''
       keep-outputs = true
       keep-derivations = true
       experimental-features = nix-command flakes
     '';
 
-    autoOptimiseStore = true;
     gc = {
       automatic = true;
       options = "--delete-older-than 14d";