From f3ba242e8a1842ff7a25c51d983fabd0cd48ad20 Mon Sep 17 00:00:00 2001 From: solidsnakedev Date: Tue, 28 Nov 2023 18:18:33 -0500 Subject: [PATCH] feat: add home-switch and nixos-switch to shell --- modules/fish.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/fish.nix b/modules/fish.nix index 79195ba..1cfa891 100644 --- a/modules/fish.nix +++ b/modules/fish.nix @@ -5,5 +5,10 @@ interactiveShellInit = '' neofetch ''; + shellAliases = { + l = "ls -la"; + nixos-switch = "sudo nixos-rebuild switch --flake ~/nixos-config"; + home-switch = "home-manager switch --flake ~/nixos-config"; + }; }; }