about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-07 14:09:19 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-07 14:11:06 +0200
commit2d28fc8d1ee2acf207d1af48cb6727b5ff873c41 (patch)
tree517c149d497ba2252f0deb3c2f9f8acfed90b793 /hosts
parentPhobos: Disks: Change uuid (diff)
downloadnixos-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.nix2
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;