about summary refs log tree commit diff
path: root/home/shell
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-02-21 12:57:30 -0800
committerFranck Cuny <franck@fcuny.net>2023-02-21 17:47:30 -0800
commit95981144f0b558c138008f6314e2889941b651bd (patch)
treebc1a09386b36b299844a0279394facf124ac3a12 /home/shell
parentfeat(home/fish): function to create go projects (diff)
downloadworld-95981144f0b558c138008f6314e2889941b651bd.tar.gz
feat(home/fish): new function to run home-manager
Diffstat (limited to 'home/shell')
-rw-r--r--home/shell/fish/functions/nix-rebuild-hm.fish4
1 files changed, 4 insertions, 0 deletions
diff --git a/home/shell/fish/functions/nix-rebuild-hm.fish b/home/shell/fish/functions/nix-rebuild-hm.fish
new file mode 100644
index 0000000..3101e51
--- /dev/null
+++ b/home/shell/fish/functions/nix-rebuild-hm.fish
@@ -0,0 +1,4 @@
+function nix-rebuild-hm --description "rebuild home manager"
+    cd ~/workspace/world
+    home-manager switch --flake .
+end