20 lines
653 B
Nix
20 lines
653 B
Nix
{
|
|
ls = "exa --icons";
|
|
lp = "exa"; # Pure output
|
|
cat = "bat";
|
|
y = "yazi";
|
|
g = "git";
|
|
t = "tmux";
|
|
|
|
# Nixos
|
|
rebuild = "sudo nixos-rebuild switch --flake /etc/nixos";
|
|
fullClean = "nix-collect-garbage --delete-old && sudo nix-collect-garbage -d && sudo /run/current-system/bin/switch-to-configuration boot";
|
|
|
|
# Hyprland
|
|
hyprlog = "grep -v \"arranged\" $XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/hyprland.log | cat";
|
|
|
|
# Systemd Boot
|
|
setWin = "sudo bootctl set-oneshot auto-windows";
|
|
goWin = "sudo bootctl set-oneshot auto-windows && reboot";
|
|
goBios = "sudo bootctl set-oneshot auto-reboot-to-firmware-setup && reboot";
|
|
}
|