use nh for sysrebuild

This commit is contained in:
William 2024-06-10 09:36:02 -03:00
parent 37558b53e5
commit 2a982c01e1
2 changed files with 11 additions and 3 deletions

View file

@ -20,7 +20,6 @@
};
programs = {
password-store.package = pkgs.pass-wayland;
mangohud = {
@ -40,9 +39,9 @@
fish = {
functions = {
sysrebuild =
"sudo nixos-rebuild switch --flake '/home/user/Projects/personal/nix-config#' 2>&1 | nom";
"nh os switch --ask /home/user/Projects/personal/nix-config";
sysrebuild-boot =
"sudo nixos-rebuild boot --flake '/home/user/Projects/personal/nix-config#' 2>&1 | nom";
"nh os boot --ask /home/user/Projects/personal/nix-config";
sysupdate =
"nix flake update --commit-lock-file /home/user/Projects/personal/nix-config";
syscleanup =