From 4e15d8da53c7bc554f0e97de8e57c7abc44b8cec Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Thu, 7 Nov 2024 16:17:21 -0800 Subject: [PATCH] little-lightning: rebuild as a fish abbreviation --- hosts/little-lightning/home.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hosts/little-lightning/home.nix b/hosts/little-lightning/home.nix index 147d617..7cc4a40 100644 --- a/hosts/little-lightning/home.nix +++ b/hosts/little-lightning/home.nix @@ -27,11 +27,12 @@ home.username = "zynh"; home.homeDirectory = "/Users/zynh"; + programs.fish.shellAbbrs = { + rebuild = /* bash */ "darwin-rebuild switch --flake ~/nixos#little-lightning |& nom"; + }; + home.packages = with pkgs; [ nix-output-monitor - (writeShellScriptBin "rebuild" '' - darwin-rebuild switch --flake ~/nixos#little-lightning |& nom - '') wakeonlan