anchor.diff:          '';
         };
   
  +      buildLocation = mkOption {
  +        type = types.str;
  +        default = "/tmp";
  +        example = "/var/buildroot";
  +        description = ''
  +          Temporary directory, which used to unpack and build source packages.
  +          (by default <filename>/tmp</filename> is used, which commonly reside on tmpfs,
  +          and big packages (like browsers) can just not fit there)
  +        '';
  +      };
       };
   
     };
  
positive.code: 
          restartTriggers = [ nixConf ];
        };
  
      # Set up the environment variables for running Nix.
      environment.sessionVariables = cfg.envVars //
  
negative.code:           ++ optionals cfg.distributedBuilds [ pkgs.gzip ];
  
          environment = cfg.envVars
            // { CURL_CA_BUNDLE = "/etc/ssl/certs/ca-certificates.crt";
                 TMPDIR = cfg.buildLocation;
               }
            // config.networking.proxy.envVars;
  
          unitConfig.RequiresMountsFor = "/nix/store";
  