diff options
| author | Grigory Shipunov | 2023-02-14 22:01:25 +0100 |
|---|---|---|
| committer | Grigory Shipunov | 2023-02-14 22:01:25 +0100 |
| commit | 11f0218afc19ed9db58e741e44b24ec98e16006b (patch) | |
| tree | 7c4b3c14a0706ce103705580b1260782df73d1be /modules | |
| parent | fc21e3a1b2255d82afcc45770704920da875cbfc (diff) | |
remove nix-output-monitor
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/basic-tools/nix.nix | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/modules/basic-tools/nix.nix b/modules/basic-tools/nix.nix index 4a481ae..12d5ee3 100644 --- a/modules/basic-tools/nix.nix +++ b/modules/basic-tools/nix.nix @@ -12,25 +12,4 @@ in builtins.mapAttrs (_name: v: { flake = v; }) flakes; nix.nixPath = lib.mapAttrsToList (name: value: "${name}=${value.outPath}") inputs.self.inputs; - - environment.shellAliases = { - nix-build="${pkgs.nix-output-monitor}/bin/nom-build"; - nix-shell="${pkgs.nix-output-monitor}/bin/nom-shell"; - }; - - programs.zsh.interactiveShellInit = '' - # hacky wrapper for nix, so we can use nom automagically - export _nom_cmd=${pkgs.nix-output-monitor}/bin/nom - function nix { - case $1 in - build|shell|develop) - echo \[SUBSTITUTION\] ''$_nom_cmd ''${@:1} 1>&2 - ''$_nom_cmd ''${@:1} - ;; - *) - ${pkgs.nix}/bin/nix $@ - esac - } - compdef nix=_nix - ''; } |
