new abbrv

This commit is contained in:
alisceon 2025-09-24 19:56:07 +02:00
parent 0752cc8d5d
commit 2d915ba449
2 changed files with 6 additions and 2 deletions

View file

@ -19,13 +19,16 @@
devi-python = "nix flake init -t templates#python";
}; # end globalShellAbbrs
# Tower specific abbreviations
towerAbbrs =
hostnameAbbrs =
if hostName == "tower" then {
weboot = "bash -c 'nix shell nixpkgs#efibootmgr -c sudo efibootmgr -n 0000 && reboot'";
}
else if hostName == "tesla-nixos" then {
isponsorblocktv-setup = "podman run --rm -it -v ~/isponsorblocktv/:/app/data ghcr.io/dmunozv04/isponsorblocktv --setup";
}
else
{};
globalShellAbbrs = baseAbbrs // towerAbbrs;
globalShellAbbrs = baseAbbrs // hostnameAbbrs;
in
{
home.username = "alisceon";