From 7a87023d2a4af9600080411ea82fd46cb798e194 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 10 Nov 2024 20:14:20 +0100 Subject: Revert "disable `nh` aliases for better interoperability with deflake branch" This reverts commit 1bf2bcbef0ec4f2333b88b976eaeabd9dba31242. --- user/settings/darwin.nix | 4 ++-- user/settings/nixos.nix | 6 +++--- user/settings/shell.nix | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/user/settings/darwin.nix b/user/settings/darwin.nix index e894bebd..1a30a870 100644 --- a/user/settings/darwin.nix +++ b/user/settings/darwin.nix @@ -109,8 +109,8 @@ }; home.shellAliases = { - rb = "darwin-rebuild"; - rbs = "darwin-rebuild 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 85ea7f72..c6b50263 100644 --- a/user/settings/nixos.nix +++ b/user/settings/nixos.nix @@ -5,9 +5,9 @@ ]; home.shellAliases = { - srb = "nixos-rebuild"; - rbs = "nixos-rebuild switch --fast"; - rbb = "nixos-rebuild boot --fast"; + srb = "nh os"; + rbs = "nh os switch"; + rbb = "nh os boot"; rbr = "nixos-rebuild switch --rollback"; }; } diff --git a/user/settings/shell.nix b/user/settings/shell.nix index 0335e23e..0b232d0e 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"; -- cgit 1.4.1