diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/settings/darwin.nix | 4 | ||||
-rw-r--r-- | user/settings/nixos.nix | 5 | ||||
-rw-r--r-- | user/settings/shell.nix | 4 |
3 files changed, 6 insertions, 7 deletions
diff --git a/user/settings/darwin.nix b/user/settings/darwin.nix index 496ab9a7..c79fb155 100644 --- a/user/settings/darwin.nix +++ b/user/settings/darwin.nix @@ -97,8 +97,8 @@ }; home.shellAliases = { - rb = "nh os"; - rbs = "nh os switch"; + rb = "darwin-rebuild"; + rbs = "darwin-rebuild switch --flake '.?submodules=1'"; dig = "dig +noall +answer"; diff --git a/user/settings/nixos.nix b/user/settings/nixos.nix index c6b50263..862ccdf5 100644 --- a/user/settings/nixos.nix +++ b/user/settings/nixos.nix @@ -5,9 +5,8 @@ ]; home.shellAliases = { - srb = "nh os"; - rbs = "nh os switch"; - rbb = "nh os boot"; + rbs = "nixos-rebuild switch --flake '.?submodules=1'"; + rbb = "nixos-rebuild boot --flake '.?submodules=1'"; rbr = "nixos-rebuild switch --rollback"; }; } diff --git a/user/settings/shell.nix b/user/settings/shell.nix index 66ebaade..350665dc 100644 --- a/user/settings/shell.nix +++ b/user/settings/shell.nix @@ -113,8 +113,8 @@ in grup = "git rup"; ho = "home-manager"; - hob = "nh home build"; - hos = "nh home switch -b hm_bak_$(date +%Y%m%d%H%M)"; + hob = "home-manager build"; + hos = "home-manager switch --flake '.?submodules=1' -b hm_bak_$(date +%Y%m%d%H%M)"; hon = "home-manager news"; hoh = "home-manager help"; hop = "home-manager packages"; |