From 6f468d2d0ff422850b458df966d798d3303928bf Mon Sep 17 00:00:00 2001 From: cswimr Date: Mon, 18 Nov 2024 16:54:50 -0500 Subject: [PATCH] add `root` and `@wheel` to trusted-users --- nixos/configuration.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 30934ae..c61ddab 100755 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -2,7 +2,12 @@ # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). { - nix = { settings.experimental-features = [ "nix-command" "flakes" ]; }; + nix = { + settings = { + experimental-features = [ "nix-command" "flakes" ]; + trusted-users = [ "root" "@wheel" ]; + }; + }; # Bootloader. boot.loader.systemd-boot.enable = true;