From 569ebea6cd7365614dc55247180e76ecec45c73d Mon Sep 17 00:00:00 2001 From: Pierre Kisters <1524059+lhns@users.noreply.github.com> Date: Fri, 2 Oct 2026 00:01:04 +0200 Subject: [PATCH] install: a short closing note instead of "Next steps" The switch already ran, so the note only says to open a new terminal, where the configuration is and how to apply changes. Dropped: the "uncomment the steamFrame block" hint, the Konsole/Developer Mode hint and the status/uninstall line. --- install.sh | 19 ++++++------------- modules/cleanup/check.nix | 3 +++ 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/install.sh b/install.sh index bdba2e8..057c75f 100755 --- a/install.sh +++ b/install.sh @@ -567,9 +567,10 @@ cmd_install() { local pending=() mapfile -t pending < <(restart_pending) - local switch_cmd="home-manager switch --flake $ref" edit="your configuration" + local switch_cmd="home-manager switch --flake $ref" config=$ref if [[ -n $dir ]]; then - edit="$dir/home.nix" + config="$(tilde "$dir")" + [[ -e $dir/home.nix ]] && config+=" (home.nix)" if [[ $(readlink -f "$HM_CONFIG_LINK" 2>/dev/null) == "$dir" ]] \ && [[ $ref == "$dir" || $ref == "$dir#$USER_NAME" ]]; then switch_cmd="home-manager switch" @@ -584,17 +585,9 @@ cmd_install() { fi cat < System > Enable Developer Mode) or - steamFrame.launcherMenu.showAllApps = true. - - Status: install.sh status. Remove everything: install.sh uninstall +Open a new terminal so that nix and home-manager are on your PATH. +Your configuration: $config. After changing it, apply it with +'$switch_cmd' (from a terminal in the nested desktop; new files need 'git add'). EOF } diff --git a/modules/cleanup/check.nix b/modules/cleanup/check.nix index 0ae242a..3ff39fc 100644 --- a/modules/cleanup/check.nix +++ b/modules/cleanup/check.nix @@ -417,6 +417,9 @@ pkgs.runCommand "cleanup-check" { nativeBuildInputs = [ cleanup pkgs.jq pkgs.git grep -q "steamFrame" $HOME/nix-config/home.nix || fail "no template" [ -s $HOME/nix-config/.git/steam-frame-nix-template ] || fail "no template marker" ! $GIT -C $HOME/nix-config status --porcelain | grep -v '^A ' || fail "marker visible to git" + has "$res" "Your configuration: ~/nix-config (home.nix). After changing it, apply it with" + has "$res" "'home-manager switch' (from a terminal in the nested desktop" + for p in uncomment Konsole "install.sh status"; do hasnt "$res" "$p"; done # --clone replaces it (unchanged; active with the helpers: no switch to it) res=$(inst --clone github:owner/config) has "$res" "(skipped)"