From 2d28fc8d1ee2acf207d1af48cb6727b5ff873c41 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Wed, 7 Sep 2022 14:09:19 +0200 Subject: Change hardcoded user to use the ${user} variable --- hosts/configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hosts') diff --git a/hosts/configuration.nix b/hosts/configuration.nix index e177b93..707f7b4 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -56,7 +56,7 @@ users.users.root.hashedPassword = secrets.root.hashed_password; # Define a user account. Don't forget to set a password with ‘passwd’. - users.users.baitinq = { + users.users.${user} = { isNormalUser = true; extraGroups = [ "wheel" "audio" "video" ]; # Enable ‘sudo’ for the user. hashedPassword = secrets.baitinq.hashed_password; -- cgit 1.4.1