From f330d50e86bf377d1731be4b49333d90d604209c Mon Sep 17 00:00:00 2001 From: caem Date: Sun, 19 Jan 2025 19:50:30 +0100 Subject: [PATCH] i may be retarded --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index c8f72b7..0d42086 100755 --- a/install.sh +++ b/install.sh @@ -137,7 +137,7 @@ install() { } copy_files_to_new_install() { - username="$(grep user ./flake.nix | sed -e 's/.*\(.*\).*/\1/')" + username="$(grep user ./flake.nix | sed -e 's/.*user = "\(.*\)";.*/\1/')" if [ -z "$username" ]; then >&2 echo "Cannot determine username" exit 1