1
Fork 0

i may be retarded

This commit is contained in:
caem 2025-01-19 19:50:30 +01:00
parent 7b40e3bf9e
commit f330d50e86
Signed by: caem
GPG key ID: 69A830D03203405F

View file

@ -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