Refactor the whole configuration #1

Merged
caem merged 354 commits from refactor into master 2025-02-01 14:05:16 +01:00
Showing only changes of commit f330d50e86 - Show all commits

View file

@ -137,7 +137,7 @@ install() {
} }
copy_files_to_new_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 if [ -z "$username" ]; then
>&2 echo "Cannot determine username" >&2 echo "Cannot determine username"
exit 1 exit 1