fish: Add --flake in nix aliases

I remember the commands working without it, but it changed a few months ago

Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
This commit is contained in:
George Kaklamanos 2025-05-21 15:06:39 +03:00
parent 85fa60b0af
commit 170b69666c
Signed by: gkaklas
GPG key ID: C0CAB8A6BDC9399D

View file

@ -27,10 +27,10 @@
# Nix
"nrs" = "sudo nixos-rebuild switch --flake path:/home/gkaklas/nix/nixos/";
"upn" = "sudo nix flake update path:/home/gkaklas/nix/nixos/";
"upn" = "sudo nix flake update --flake path:/home/gkaklas/nix/nixos/";
"cln" = "sudo nix profile wipe-history --older-than 7d --profile /nix/var/nix/profiles/system";
"hms" = "home-manager switch --flake path:/home/gkaklas/nix/home-manager/";
"uph" = "nix flake update path:/home/gkaklas/nix/home-manager/ ";
"uph" = "nix flake update --flake path:/home/gkaklas/nix/home-manager/ ";
"clh" = "nix profile wipe-history --older-than 7d";
"update" = "upn && nrs && cln && uph && hms && clh && nix store gc";