Advertisement
Guest User

Untitled

a guest
Aug 30th, 2018
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 KB | None | 0 0
  1. # nix.conf
  2. # WARNING: this file is generated from the nix.* options in
  3. # your NixOS configuration, typically
  4. # /etc/nixos/configuration.nix. Do not edit it!
  5. build-users-group = nixbld
  6. max-jobs = 4
  7. cores = 1
  8. sandbox = false
  9. extra-sandbox-paths =
  10. substituters = https://cache.example.io
  11. trusted-substituters =
  12. trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= cache.example.io-1:W4v5CBsuqZCb+fYs0IxKY5dPsVJ8x6ZZ8oaEei4MD70=
  13. auto-optimise-store = false
  14. require-sigs = true
  15.  
  16. trusted-users = root
  17. allowed-users = *
  18. builders =
  19.  
  20.  
  21. # configuration.nix
  22. # Edit this configuration file to define what should be installed on
  23. # your system. Help is available in the configuration.nix(5) man page
  24. # and in the NixOS manual (accessible by running ‘nixos-help’).
  25.  
  26. { config, pkgs, ... }:
  27.  
  28. {
  29. imports =
  30. [ # Include the results of the hardware scan.
  31. ./hardware-configuration.nix
  32. ];
  33.  
  34. nixpkgs.config.allowUnfree = true;
  35. # boot = { ... };
  36. # hardware = { ... };
  37. # environment.systemPackages = with pkgs; [ ... ];
  38. # programs = { ... };
  39. virtualisation.virtualbox.host.enable = true;
  40. # networking = { ... };
  41. # services = { ... };
  42. # security = { ... };
  43. # users = { ... };
  44.  
  45. nix = {
  46. binaryCaches = [ "https://cache.example.io" ];
  47. binaryCachePublicKeys = [ "cache.example.io-1:W4v5CBsuqZCb+fYs0IxKY5dPsVJ8x6ZZ8oaEei4MD70=" ];
  48. buildMachines = [
  49. {
  50. hostName = "localhost";
  51. system = "x86_64-linux";
  52. maxJobs = 1;
  53. supportedFeatures = [ ];
  54. }
  55. ];
  56. gc.automatic = true;
  57. optimise.automatic = true;
  58. };
  59.  
  60. # This value determines the NixOS release with which your system is to be
  61. # compatible, in order to avoid breaking some software such as database
  62. # servers. You should change this only after NixOS release notes say you
  63. # should.
  64. system.stateVersion = "17.09"; # Did you read the comment?
  65. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement