summaryrefslogtreecommitdiffstats
path: root/modules/base.nix
blob: 76c8b89709bb4d3a49592dc03b5a46f1c10f0092 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ config, pkgs, ... }:

{
  time.timeZone = "Europe/Berlin";

  nix.maxJobs = 8;
  nix.useChroot = true;
  # TODO check if both are required:
  nix.chrootDirs = [ "/etc/protocols" pkgs.iana_etc.outPath ];

  nix.trustedBinaryCaches = [
    "https://cache.nixos.org"
    "http://cache.nixos.org"
    "http://hydra.nixos.org"
  ];

}