From 5636343b7174fdb727bb4ecb238b2a46ef70d589 Mon Sep 17 00:00:00 2001 From: rainy Date: Tue, 22 Apr 2025 16:50:46 -0700 Subject: [PATCH] fix update alias --- modules/fish.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/fish.nix b/modules/fish.nix index 5c7904c..a79c1fb 100644 --- a/modules/fish.nix +++ b/modules/fish.nix @@ -3,7 +3,7 @@ { programs.fish.enable = true; programs.fish.shellAliases = { - nxr = "sudo nixos-rebuild switch --flake .#"; + nxr = "nix flake update && sudo nixos-rebuild switch --flake .#"; nxe = "nano /home/rainy/nix-config/configuration.nix"; nxh = "nano /home/rainy/nix-config/home.nix"; nxu = "sudo nix-channel --update && sudo nixos-rebuild switch --upgrade";