Finalize whatever

This commit is contained in:
Jimbo 2024-09-10 15:42:37 -04:00
parent c1b6c7a255
commit 00804dae34

View file

@ -14,16 +14,16 @@
shellAliases = { shellAliases = {
# NixOS aliases # NixOS aliases
nixcfg = "${nixcfg.open}"; nixcfg = "${nixcfg.open}";
nixclean = "${auth.method} nix-store --gc; nix-collect-garbage -d; notify-send 'NixOS store clean finished.'"; nixclean = "${auth.method} nix-store --gc; nix-collect-garbage -d";
nixpurge = "${auth.method} nix-collect-garbage --delete-old; notify-send 'NixOS generation removed.'"; nixpurge = "${auth.method} nix-collect-garbage --delete-old";
nixoptimize = "${auth.method} nix store optimise; notify-send 'NixOS store optimization finished.'"; nixoptimize = "${auth.method} nix store optimise";
# Flake commands # Flake commands
flakedate = "${auth.method} nix flake update /etc/nixos"; flakedate = "${auth.method} nix flake update /etc/nixos";
sysswitch = "${auth.method} nixos-rebuild switch --flake /etc/nixos"; sysswitch = "${auth.method} nixos-rebuild switch --flake /etc/nixos";
homeswitch = "home-manager switch --flake /etc/nixos"; homeswitch = "home-manager switch --flake /etc/nixos";
nixswitch = "sysswitch; homeswitch; notify-send 'NixOS switch done.'"; nixswitch = "sysswitch; homeswitch";
nixdate = "flakedate && sysswitch; homeswitch; notify-send 'NixOS update done.'"; nixdate = "flakedate && sysswitch; homeswitch";
# Shortcut aliases # Shortcut aliases
neo = "clear && fastfetch"; neo = "clear && fastfetch";