diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-09-07 14:09:19 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-09-07 14:11:06 +0200 |
commit | 2d28fc8d1ee2acf207d1af48cb6727b5ff873c41 (patch) | |
tree | 517c149d497ba2252f0deb3c2f9f8acfed90b793 /hosts | |
parent | Phobos: Disks: Change uuid (diff) | |
download | nixos-config-2d28fc8d1ee2acf207d1af48cb6727b5ff873c41.tar.gz nixos-config-2d28fc8d1ee2acf207d1af48cb6727b5ff873c41.tar.bz2 nixos-config-2d28fc8d1ee2acf207d1af48cb6727b5ff873c41.zip |
Change hardcoded user to use the ${user} variable
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/configuration.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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; |