diff --git a/nix-os/core.nix b/nix-os/core.nix index 8ab04d8..75cf2dd 100644 --- a/nix-os/core.nix +++ b/nix-os/core.nix @@ -28,6 +28,9 @@ let (mkWrappedExecutable {pkg = pkgs.nix; exe = "nix-build"; wrapperArgs = ["--add-flags" "\"--log-format\"" "--add-flags" "bar${lib.optionalString inEnvironment "-with-logs"}"];}) (mkWrappedExecutable {pkg = pkgs.nix; exe = "nix-shell"; wrapperArgs = ["--add-flags" "\"--log-format\"" "--add-flags" "bar"];}) ]; + wrappedNixosExecutables = [ + (mkWrappedExecutable {pkg = pkgs.nixos-rebuild; wrapperArgs = ["--add-flags" "\"--log-format\"" "--add-flags" "bar"];}) + ]; wrappedNix = (pkgs.buildEnv { name = "wrappedNix-${pkgs.nix.version}"; paths = [ pkgs.nix ] ++ wrappedNixExecutables false; @@ -57,7 +60,8 @@ in fastfetch smartmontools ddrescue - ] ++ wrappedNixExecutables true; + ] ++ wrappedNixExecutables true + ++ wrappedNixosExecutables; programs.git.enable = true; programs.git.config = {