mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-25 05:24:52 +00:00
add nr to rebuild nixos and darwin
This commit is contained in:
parent
c67d84fcd1
commit
708672b2e3
@ -37,6 +37,13 @@
|
||||
|
||||
xdg.configFile.hammerspoon = { source = ./hammerspoon; };
|
||||
|
||||
programs.fish = {
|
||||
shellAbbrs = {
|
||||
nr =
|
||||
"sudo darwin-rebuild switch --flake ${config.dotfilesPath}#macbook";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
system.activationScripts.hammerspoon.text = ''
|
||||
|
@ -16,6 +16,13 @@
|
||||
|
||||
};
|
||||
|
||||
programs.fish = {
|
||||
shellAbbrs = {
|
||||
nr = lib.mkIf pkgs.stdenv.isLinux
|
||||
"doas nixos-rebuild switch --flake ${config.dotfilesPath}";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user