From c9634ceb86660d5b16837e15d179452825688776 Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Fri, 30 Jun 2023 10:54:04 +0100 Subject: [PATCH] Add @wheel to nix trusted users to allow remote deployment. --- hosts/common/global/default.nix | 1 + hosts/common/global/nix.nix | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 hosts/common/global/nix.nix diff --git a/hosts/common/global/default.nix b/hosts/common/global/default.nix index 946fa35..0e0f94b 100644 --- a/hosts/common/global/default.nix +++ b/hosts/common/global/default.nix @@ -4,6 +4,7 @@ ./flakes.nix ./locale.nix ./network.nix + ./nix.nix ./packages.nix ./sudo.nix ]; diff --git a/hosts/common/global/nix.nix b/hosts/common/global/nix.nix new file mode 100644 index 0000000..8abef08 --- /dev/null +++ b/hosts/common/global/nix.nix @@ -0,0 +1,3 @@ +{ + nix.settings.trusted-users = [ "root" "@wheel" ]; +}