add nh over nixos-rebuild alias
This commit is contained in:
parent
b0ae305845
commit
a984633ee3
1 changed files with 2 additions and 2 deletions
|
|
@ -28,6 +28,8 @@ in
|
||||||
compsize
|
compsize
|
||||||
|
|
||||||
ffmpeg
|
ffmpeg
|
||||||
|
|
||||||
|
nh
|
||||||
]
|
]
|
||||||
++ (
|
++ (
|
||||||
if config.nixowos.nvidia.enable then
|
if config.nixowos.nvidia.enable then
|
||||||
|
|
@ -51,8 +53,6 @@ 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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue