From 3a2266d44ff3c39b111f13a5d24c386845b3d9ec Mon Sep 17 00:00:00 2001 From: DashieTM Date: Sun, 8 Sep 2024 21:34:28 +0200 Subject: [PATCH] Use nh --- modules/programs/fish.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/programs/fish.nix b/modules/programs/fish.nix index 4c9c8e1..0386d57 100644 --- a/modules/programs/fish.nix +++ b/modules/programs/fish.nix @@ -45,8 +45,9 @@ set EDITOR "neovide --no-fork" - alias rebuild='sudo nixos-rebuild switch --flake ${config.conf.nixos-config-path}' - alias update='sudo nixos-rebuild switch --flake ${config.conf.nixos-config-path}' + alias rebuild='nh os switch' + alias update='nix flake update $FLAKE' + alias updateLock='nix flake lock $FLAKE --update-input' abbr --add ls 'lsd' abbr --add :q 'exit' abbr --add gh 'git push origin'