From 893ada587b087c5a764f6a449841296cb3295a8f Mon Sep 17 00:00:00 2001 From: janabhumi Date: Sun, 9 Oct 2022 17:26:59 +0300 Subject: [PATCH] chore: don't use secrets for users name --- users/jan/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/users/jan/default.nix b/users/jan/default.nix index 94e1523..071bb86 100644 --- a/users/jan/default.nix +++ b/users/jan/default.nix @@ -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" ]; }