anchor.diff:      }
   
       path() {
  -      nix-instantiate --eval -E "let p = import <nixpkgs> {}; in toString p.$1" | sed "s/\"//g"
  +      ${nix}/bin/nix-instantiate --eval -E "let p = import <nixpkgs> {}; in toString p.$1" | sed "s/\"//g"
       }
   
       find() {
  
positive.code:   NIX_PATH = "nixpkgs=${NIX_MY_PKGS}:nixos=${NIX_MY_PKGS}/nixos:nixos-config=${NIXOS_CONFIG}:services=${NIXOS_SERVICES}";
  
    # this is a command and not a function, to work with nox
    nixenv = pkgs.writeScriptBin "nix-env" ''
      #!${pkgs.stdenv.shell}
      ${nix}/bin/nix-env -f "${NIX_MY_PKGS}" "$@"
    '';
  
    nixmyEnv = pkgs.buildEnv {
      name = "nixmyEnv";
      paths = [ nixenv pkgs.wget pkgs.git ]
        ++ (lib.optionals useNox [ pkgs.nox ])
        ++ extraPaths;
    };
  
    nixmy = pkgs.writeScriptBin "nixmy" ''
  
negative.code:   NIX_USER_PROFILE_DIR = config.nixmy.NIX_USER_PROFILE_DIR;
    NIX_MY_GITHUB = config.nixmy.NIX_MY_GITHUB;
  
    NIX_MY_BACKUP = config.nixmy.NIX_MY_BACKUP;
  
    # optional
    NIXOS_CONFIG = config.nixmy.NIXOS_CONFIG or "/etc/nixos/configuration.nix";
    NIXOS_SERVICES = config.nixmy.NIXOS_SERVICES or "/etc/nixos/services";
  
    # to add other programs to nixmy
    extraPaths = config.nixmy.extraPaths or [];
  