Compare commits
No commits in common. "00f6999924663282a6c619c4af8cdc29e7f3a004" and "24c4cf3940d2adb9541262dbe3a8960866d5c056" have entirely different histories.
00f6999924
...
24c4cf3940
12
.vscode/upgrade.sh
vendored
12
.vscode/upgrade.sh
vendored
|
@ -1,16 +1,6 @@
|
||||||
# error handler
|
|
||||||
handle_error() {
|
|
||||||
echo "Upgrade failed."
|
|
||||||
read -p "Press Enter to exit..."
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
# stop on error
|
# stop on error
|
||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
|
|
||||||
# trap any errors and call handle_error
|
|
||||||
trap 'handle_error "$BASH_COMMAND"' ERR
|
|
||||||
|
|
||||||
# update lock file
|
# update lock file
|
||||||
nix flake update
|
nix flake update
|
||||||
|
|
||||||
|
@ -22,5 +12,3 @@ nixos-rebuild switch -L --flake .#hydrogen --target-host hydrogen
|
||||||
git add flake.lock
|
git add flake.lock
|
||||||
git commit -m "⬆️ nix flake update"
|
git commit -m "⬆️ nix flake update"
|
||||||
git push
|
git push
|
||||||
|
|
||||||
echo "Upgrade successful"
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{ ... }: {
|
{ ... }: {
|
||||||
programs.eza.enable = true;
|
programs.exa.enable = true;
|
||||||
programs.zsh.shellAliases = {
|
programs.zsh.shellAliases = {
|
||||||
l =
|
l =
|
||||||
"eza -lahg --icons --git --time-style=long-iso --group-directories-first --color=always";
|
"exa -lahg --icons --git --time-style=long-iso --group-directories-first --color=always";
|
||||||
ll = "l --grid";
|
ll = "l --grid";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue