diff options
| author | tv <tv@krebsco.de> | 2015-03-05 13:01:05 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2015-05-19 23:10:57 +0200 |
| commit | f52e3eb5b94b8cffcc2b57f4604aac2e9402be39 (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 0000000..76c8b89 --- /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" + ]; + +} |
