From 0e4b6070dfd8cdb648ccea18ff97d5d66a4ba737 Mon Sep 17 00:00:00 2001 From: William Hsieh Date: Thu, 5 Sep 2024 18:31:24 +0800 Subject: [PATCH] remove hard coded username --- system/nixos/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/nixos/default.nix b/system/nixos/default.nix index ba9f9d3c..05930bdd 100644 --- a/system/nixos/default.nix +++ b/system/nixos/default.nix @@ -93,7 +93,7 @@ # services.xserver.libinput.enable = true; # Define a user account. Don't forget to set a password with ‘passwd’. - users.users.william = { + users.users.${dotfiles.home.username} = { isNormalUser = true; description = dotfiles.home.fullname; extraGroups = [ "networkmanager" "wheel" ];