Use new trustedUsers settings

This commit is contained in:
Artemis Tosini 2022-06-28 00:08:02 +00:00
parent 44423c4f6e
commit abf2379ca4
Signed by: artemist
GPG key ID: ADFFE553DCBB831E
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@
dates = "00:00"; dates = "00:00";
options = "--delete-older-than 14d"; options = "--delete-older-than 14d";
}; };
trustedUsers = [ "artemis" ]; settings.trusted-users = [ "artemis" ];
}; };
console = { console = {

View file

@ -1,7 +1,7 @@
{ config, ... }: { config, ... }:
{ {
nix.trustedUsers = [ "build" ]; nix.settings.trusted-users = [ "build" ];
users.users.build = { users.users.build = {
isSystemUser = true; isSystemUser = true;
home = "/home/build"; home = "/home/build";