shell: partially revert "add nh over nixos-rebuild alias"

This reverts commit a984633ee3.

I actually prefer lix's multiline-with-logs output over nom,
so nh is not much better to use over nixos-rebuild-ng

I am still keeping around nh though, for eg `nh search`
This commit is contained in:
electria 2026-09-02 11:03:00 -07:00
commit 04b3c07941
Signed by: electria
SSH key fingerprint: SHA256:8LlB3ucPbBHqozqkhsNbaV5oG3SlzzqUj8FZDL6IPQs

View file

@ -52,6 +52,8 @@ in
environment.shellAliases = { environment.shellAliases = {
# make nix-shell preserve the user's $SHELL # make nix-shell preserve the user's $SHELL
nix-shell = /* sh */ ''nix-shell --command "export SHELL=$SHELL; $SHELL"''; nix-shell = /* sh */ ''nix-shell --command "export SHELL=$SHELL; $SHELL"'';
nixos-rebuild = /* sh */ "nixos-rebuild --ask-sudo-password";
}; };
environment.systemPackages = lib.mkIf config.nixowos.allowAddingPackages cfg.extraPackages; environment.systemPackages = lib.mkIf config.nixowos.allowAddingPackages cfg.extraPackages;