From 4039d3701a158ba272d83d783b0846fab5425d91 Mon Sep 17 00:00:00 2001 From: Brian Hicks Date: Fri, 2 Sep 2022 17:00:46 -0500 Subject: [PATCH] avoid deprecated names --- machines/flame/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/machines/flame/default.nix b/machines/flame/default.nix index b32fda6..d07e224 100644 --- a/machines/flame/default.nix +++ b/machines/flame/default.nix @@ -15,8 +15,8 @@ programs.zsh.enable = true; # nix.package = pkgs.nixUnstable; - nix.allowedUsers = [ "brianhicks" ]; - nix.trustedUsers = [ "brianhicks" ]; + nix.settings.allowed-users = [ "brianhicks" ]; + nix.settings.trusted-users = [ "brianhicks" ]; # Used for backwards compatibility, please read the changelog before changing. # $ darwin-rebuild changelog @@ -25,9 +25,9 @@ # You should generally set this to the total number of logical cores in your system. # $ sysctl -n hw.ncpu services.nix-daemon.enable = false; - nix.maxJobs = 8; - nix.buildCores = 8; - users.nix.configureBuildUsers = true; + nix.settings.max-jobs = 8; + nix.settings.cores = 8; + nix.configureBuildUsers = true; # enabling distributed builds removes a blank config line from # /etc/nix/nix.conf. github.com/nix-community/linuxkit-nix seems to do the