little-lightning: rebuild as a fish abbreviation

This commit is contained in:
Zynh Ludwig 2024-11-07 16:17:21 -08:00
parent ebf403819f
commit 4e15d8da53

View file

@ -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