little-lightning: rebuild as a fish abbreviation

main
Zynh Ludwig 2024-11-07 16:17:21 -08:00
parent ebf403819f
commit 4e15d8da53
1 changed files with 4 additions and 3 deletions

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