Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # nix.conf
- # WARNING: this file is generated from the nix.* options in
- # your NixOS configuration, typically
- # /etc/nixos/configuration.nix. Do not edit it!
- build-users-group = nixbld
- max-jobs = 4
- cores = 1
- sandbox = false
- extra-sandbox-paths =
- substituters = https://cache.example.io
- trusted-substituters =
- trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= cache.example.io-1:W4v5CBsuqZCb+fYs0IxKY5dPsVJ8x6ZZ8oaEei4MD70=
- auto-optimise-store = false
- require-sigs = true
- trusted-users = root
- allowed-users = *
- builders =
- # configuration.nix
- # Edit this configuration file to define what should be installed on
- # your system. Help is available in the configuration.nix(5) man page
- # and in the NixOS manual (accessible by running ‘nixos-help’).
- { config, pkgs, ... }:
- {
- imports =
- [ # Include the results of the hardware scan.
- ./hardware-configuration.nix
- ];
- nixpkgs.config.allowUnfree = true;
- # boot = { ... };
- # hardware = { ... };
- # environment.systemPackages = with pkgs; [ ... ];
- # programs = { ... };
- virtualisation.virtualbox.host.enable = true;
- # networking = { ... };
- # services = { ... };
- # security = { ... };
- # users = { ... };
- nix = {
- binaryCaches = [ "https://cache.example.io" ];
- binaryCachePublicKeys = [ "cache.example.io-1:W4v5CBsuqZCb+fYs0IxKY5dPsVJ8x6ZZ8oaEei4MD70=" ];
- buildMachines = [
- {
- hostName = "localhost";
- system = "x86_64-linux";
- maxJobs = 1;
- supportedFeatures = [ ];
- }
- ];
- gc.automatic = true;
- optimise.automatic = true;
- };
- # This value determines the NixOS release with which your system is to be
- # compatible, in order to avoid breaking some software such as database
- # servers. You should change this only after NixOS release notes say you
- # should.
- system.stateVersion = "17.09"; # Did you read the comment?
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement