chore: don't use secrets for users name

This commit is contained in:
Dmitriy Pleshevskiy 2022-10-09 17:26:59 +03:00
parent dcdb9ec936
commit 893ada587b
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215

View file

@ -13,8 +13,6 @@ in
users.users.jan = {
isNormalUser = true;
name = secrets.userName;
home = secrets.userDir;
extraGroups = [
"wheel" # Enable sudo for the user.
"networkmanager"
@ -38,5 +36,5 @@ in
};
};
nix.settings.trusted-users = lib.mkForce [ "root" secrets.userName ];
nix.settings.trusted-users = lib.mkForce [ "root" "jan" ];
}