From afd061bec3bc7221931119d3ea55fa808eef9dcb Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 12 Jan 2025 17:24:24 +0100 Subject: remove nh --- user/settings/darwin.nix | 4 ++-- user/settings/nixos.nix | 5 ++--- user/settings/shell.nix | 4 ++-- 3 files changed, 6 insertions(+), 7 deletions(-) (limited to 'user') 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"; -- cgit 1.4.1