From 2bb2accdaaf34de557a6865e0e09a36691cb33be Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Wed, 2 Mar 2022 13:22:12 +0100 Subject: machines/profpatsch: use new nix.settings attribute --- machines/profpatsch/base.nix | 4 ++-- machines/profpatsch/shiki.nix | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'machines/profpatsch') diff --git a/machines/profpatsch/base.nix b/machines/profpatsch/base.nix index dd899cf0..e4dc4e00 100644 --- a/machines/profpatsch/base.nix +++ b/machines/profpatsch/base.nix @@ -10,9 +10,9 @@ in { config = { # correctness before speed - nix.useSandbox = true; + nix.settings.useSandbox = true; - nix.maxJobs = "auto"; + nix.settings.maxJobs = "auto"; # /tmp should never be depended on boot.cleanTmpDir = true; diff --git a/machines/profpatsch/shiki.nix b/machines/profpatsch/shiki.nix index 0b7600e4..23c66cf4 100644 --- a/machines/profpatsch/shiki.nix +++ b/machines/profpatsch/shiki.nix @@ -103,7 +103,7 @@ in { ]; nix.distributedBuilds = true; - nix.trustedUsers = [ "@wheel" ]; + nix.settings.trustedUsers = [ "@wheel" ]; nix.buildMachines = [ # access to the nix-community aarch64 build box { @@ -124,10 +124,10 @@ in { supportedFeatures = [ "kvm" "big-parallel" "nixos-test" "benchmark" ]; } ]; - nix.binaryCaches = [ + nix.settings.binaryCaches = [ "https://digitallyinduced.cachix.org" ]; - nix.binaryCachePublicKeys = [ + nix.settings.binaryCachePublicKeys = [ "digitallyinduced.cachix.org-1:y+wQvrnxQ+PdEsCt91rmvv39qRCYzEgGQaldK26hCKE=" ]; -- cgit 1.4.1