diff options
author | tv <tv@shackspace.de> | 2015-03-05 13:01:05 +0100 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-05-19 23:10:57 +0200 |
commit | f93ca99fab906b6d2b83dc3b4c9410da7c29bdde (patch) | |
tree | e34e330c04beb0822d59da3f43b0a1e32c06b582 /modules/base.nix |
initial commit
Diffstat (limited to 'modules/base.nix')
-rw-r--r-- | modules/base.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/base.nix b/modules/base.nix new file mode 100644 index 000000000..76c8b8970 --- /dev/null +++ b/modules/base.nix @@ -0,0 +1,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" + ]; + +} |