From f5fc458891cecffe22e4d77d75f1ad26a6417298 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 12 Feb 2022 20:09:09 +0100 Subject: bump --- system-profiles/build-server/default.nix | 2 +- system-profiles/core.nix | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'system-profiles') diff --git a/system-profiles/build-server/default.nix b/system-profiles/build-server/default.nix index 9cb9e142..20b23a31 100644 --- a/system-profiles/build-server/default.nix +++ b/system-profiles/build-server/default.nix @@ -12,7 +12,7 @@ group = "nix-ssh-builder"; extraGroups = [ "ssh" ]; }; - nix.trustedUsers = [ "nix-ssh-builder" ]; + nix.settings.trusted-users = [ "nix-ssh-builder" ]; services.openssh = { enable = true; diff --git a/system-profiles/core.nix b/system-profiles/core.nix index c243f857..0b20d944 100644 --- a/system-profiles/core.nix +++ b/system-profiles/core.nix @@ -43,9 +43,11 @@ in { nix = { package = pkgs.nixUnstable; - useSandbox = true; - allowedUsers = [ "*" ]; - trustedUsers = [ "root" "@wheel" ]; + settings = { + sandbox = true; + allowed-users = [ "*" ]; + trusted-users = [ "root" "@wheel" ]; + }; extraOptions = '' experimental-features = nix-command flakes ''; -- cgit v1.2.3