add root and @wheel to trusted-users

This commit is contained in:
Seaswimmer 2024-11-18 16:54:50 -05:00
parent ff17a11aca
commit 6f468d2d0f
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -2,7 +2,12 @@
# your system. Help is available in the configuration.nix(5) man page # your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help). # 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. # Bootloader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;