Shell aliases

This commit is contained in:
nomadics9 2024-10-12 19:13:00 +03:00
parent 637b3a6c16
commit d7714ae54e
2 changed files with 7 additions and 9 deletions

View file

@ -3,11 +3,11 @@
"dotfiles": {
"flake": false,
"locked": {
"lastModified": 1728740353,
"narHash": "sha256-O/AuZu+MKeFRNsanZ+vWdRJizOer8ri0cLApuP7eTaQ=",
"lastModified": 1728748987,
"narHash": "sha256-bJOg8cixnnc6LIYVDi4lAAtPYNXJ/6G47KhNPPImA+4=",
"ref": "refs/heads/main",
"rev": "f7d2e0d11492542d4cdcdc38c09776493d5849da",
"revCount": 13,
"rev": "55b7b8bf72c3becef2d56a727363c7280c895094",
"revCount": 28,
"type": "git",
"url": "https://github.com/nomadics9/dotfiles.git"
},

View file

@ -23,15 +23,13 @@ in
# '';
shellAliases = {
switchhypr = "sudo nixos-rebuild switch --flake .#hyprland";
switchuhypr = "sudo nixos-rebuild switch --upgrade --flake .#hyprland";
switchgnome = "sudo nixos-rebuild switch --flake .#gnome";
switchugnome = "sudo nixos-rebuild switch --upgrade --flake .#gnome";
switchhypr = "sudo nixos-rebuild switch --flake .";
dotfilesu = "nix flake lock --update-input dotfiles";
switchuhypr = "nix flake lock --update-input dotfiles && sudo nixos-rebuild switch --flake .";
clean = "sudo nix-collect-garbage -d";
cleanold = "sudo nix-collect-garbage --delete-old";
cleanboot = "sudo /run/current-system/bin/switch-to-configuration boot";
nvim = "kitty @ set-spacing padding=0 && /run/current-system/sw/bin/nvim";
zed = "steam-run zed";
};
initExtraFirst = "
unsetopt beep