diff options
author | Alan Pearce | 2024-05-12 00:37:08 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-12 00:37:08 +0200 |
commit | 3560af9f16d68fb10fac4a6c07d1aafb1a0a74e3 (patch) | |
tree | f93dc21ca8a8ec04375a8d336ecd3daad5b616b7 /user | |
parent | 2814fb1ea26bbfe4d37a3d625713becb7f7c065a (diff) | |
download | nixfiles-3560af9f16d68fb10fac4a6c07d1aafb1a0a74e3.tar.lz nixfiles-3560af9f16d68fb10fac4a6c07d1aafb1a0a74e3.tar.zst nixfiles-3560af9f16d68fb10fac4a6c07d1aafb1a0a74e3.zip |
use nh for all relevant rebuild operations
Diffstat (limited to 'user')
-rw-r--r-- | user/settings/darwin.nix | 4 | ||||
-rw-r--r-- | user/settings/nixos.nix | 2 | ||||
-rw-r--r-- | user/settings/shell.nix | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/user/settings/darwin.nix b/user/settings/darwin.nix index 8655b13f..259a7cce 100644 --- a/user/settings/darwin.nix +++ b/user/settings/darwin.nix @@ -112,8 +112,8 @@ }; home.shellAliases = { - rb = "darwin-rebuild --flake $(ghq list -p nixfiles)"; - rbs = "rb switch"; + rb = "nh os"; + rbs = "nh os switch"; dig = "dig +noall +answer"; diff --git a/user/settings/nixos.nix b/user/settings/nixos.nix index d1f57b08..c6b50263 100644 --- a/user/settings/nixos.nix +++ b/user/settings/nixos.nix @@ -8,6 +8,6 @@ srb = "nh os"; rbs = "nh os switch"; rbb = "nh os boot"; - rbr = "nh os switch --rollback"; + rbr = "nixos-rebuild switch --rollback"; }; } diff --git a/user/settings/shell.nix b/user/settings/shell.nix index 5358f618..49810a5f 100644 --- a/user/settings/shell.nix +++ b/user/settings/shell.nix @@ -117,8 +117,8 @@ in grup = "git rup"; ho = "home-manager"; - hob = "home-manager build"; - hos = "home-manager switch -b hm_bak_$(date +%Y%m%d%H%M)"; + hob = "nh home build"; + hos = "nh home switch -b hm_bak_$(date +%Y%m%d%H%M)"; hon = "home-manager news"; hoh = "home-manager help"; hop = "home-manager packages"; |