shell: drop the nrs alias

It ran git add -A, so a rebuild swept every unrelated change in
/etc/nixos into one "Update: <date>" commit and pushed it. Rebuild
and commit separately instead.

Assisted-by: Claude:opus-5-5
This commit is contained in:
Sergei Poljanski 2026-10-20 12:10:05 +04:00
commit f4a352aeaa
Signed by: asxpi
GPG key ID: 4F8851660FA4121B

View file

@ -86,9 +86,4 @@
environment.shellInit = ''
export GPG_TTY=$(tty)
'';
# Shell aliases (available in all shells)
environment.shellAliases = {
nrs = ''export GPG_TTY=$(tty) && sudo nixos-rebuild switch --flake path:/etc/nixos && cd /etc/nixos && git add -A && git commit -S -m "Update: $(date +%Y-%m-%d_%H:%M)" || true && git push origin main'';
};
}