nix.settings.trusted-users

This commit is contained in:
Nicolas Jeannerod 2024-11-20 17:00:50 +01:00
parent 9f471327df
commit fca563a987
Signed by untrusted user: Niols
GPG key ID: 35DB9EC8886E1CB8
2 changed files with 2 additions and 4 deletions

View file

@ -29,6 +29,8 @@
security.sudo.wheelNeedsPassword = false; security.sudo.wheelNeedsPassword = false;
nix.settings.trusted-users = [ "@wheel" ];
## FIXME: Remove direct root authentication once NixOps4 supports users with ## FIXME: Remove direct root authentication once NixOps4 supports users with
## password-less sudo. ## password-less sudo.
users.root.openssh.authorizedKeys.keys = [ users.root.openssh.authorizedKeys.keys = [

View file

@ -6,8 +6,4 @@
ip4 = "185.206.232.179"; ip4 = "185.206.232.179";
ip6 = "2a00:51c0:12:1201::179"; ip6 = "2a00:51c0:12:1201::179";
}; };
nix = {
settings.trusted-users = [ "@wheel" ];
};
} }