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:
parent
d67a91f633
commit
f4a352aeaa
1 changed files with 0 additions and 5 deletions
|
|
@ -86,9 +86,4 @@
|
||||||
environment.shellInit = ''
|
environment.shellInit = ''
|
||||||
export GPG_TTY=$(tty)
|
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'';
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue