From 47692795b39aa4463487be3202f62ae900797d24 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 20 Jun 2022 13:45:50 -0700 Subject: feat(home/shell): manage fish's functions directory Change-Id: I03a35a211c7563e65770b39b140099291efafab9 Reviewed-on: https://cl.fcuny.net/c/world/+/458 Reviewed-by: Franck Cuny Tested-by: CI --- home/shell/fish/functions/nix-rebuild-host.fish | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 home/shell/fish/functions/nix-rebuild-host.fish (limited to 'home/shell/fish/functions/nix-rebuild-host.fish') diff --git a/home/shell/fish/functions/nix-rebuild-host.fish b/home/shell/fish/functions/nix-rebuild-host.fish new file mode 100644 index 0000000..1ec7daa --- /dev/null +++ b/home/shell/fish/functions/nix-rebuild-host.fish @@ -0,0 +1,4 @@ +function nix-rebuild-host --description "rebuild the current host" + cd ~/workspace/world + sudo nixos-rebuild switch --flake . +end -- cgit 1.4.1