add nr to rebuild nixos and darwin

This commit is contained in:
Noah Masur
2022-06-14 18:17:52 -04:00
parent c67d84fcd1
commit 708672b2e3
2 changed files with 14 additions and 0 deletions

View File

@@ -16,6 +16,13 @@
};
programs.fish = {
shellAbbrs = {
nr = lib.mkIf pkgs.stdenv.isLinux
"doas nixos-rebuild switch --flake ${config.dotfilesPath}";
};
};
};
}