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

View file

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