diff options
author | lassulus <lass@aidsballs.de> | 2016-02-27 17:28:46 +0100 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-02-27 17:28:46 +0100 |
commit | c6aefdc05e92e1fad4e9668568ec6967fc6c5fa3 (patch) | |
tree | e59340b58cf00b63168195a000d30481627f4e93 /tv/2configs/default.nix | |
parent | 8b612222cbfc279f9076f0e9c4d7c3ebd2110910 (diff) | |
parent | 97447915baf00f502e46d9842d9ca75682adb33e (diff) |
Merge remote-tracking branch 'cd/master'
Diffstat (limited to 'tv/2configs/default.nix')
-rw-r--r-- | tv/2configs/default.nix | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix index 9b83997..0a3e40a 100644 --- a/tv/2configs/default.nix +++ b/tv/2configs/default.nix @@ -14,8 +14,7 @@ with config.krebs.lib; stockholm = "/home/tv/stockholm"; nixpkgs = { url = https://github.com/NixOS/nixpkgs; - rev = "77f8f35d57618c1ba456d968524f2fb2c3448295"; - dev = "/home/tv/nixpkgs"; + rev = "40c586b7ce2c559374df435f46d673baf711c543"; }; } // optionalAttrs config.krebs.build.host.secure { secrets-master = "/home/tv/secrets/master"; @@ -55,15 +54,14 @@ with config.krebs.lib; ''; time.timeZone = "Europe/Berlin"; } + { # 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" - ]; + nix.requireSignedBinaryCaches = true; + + nix.binaryCaches = ["https://cache.nixos.org"]; nix.useChroot = true; } @@ -179,12 +177,6 @@ with config.krebs.lib; } { - # TODO: exim - security.setuidPrograms = [ - "sendmail" # for sudo - ]; - } - { environment.systemPackages = [ pkgs.get pkgs.krebszones |