diff options
author | makefu <github@syntax-fehler.de> | 2016-11-11 13:44:55 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2016-11-11 13:44:55 +0100 |
commit | 4d7f0e6c5bcd8b586711ad2394fac73ebbd3312d (patch) | |
tree | a21db730913e0915ec1e319af70673e7cf4e5001 /tv/2configs | |
parent | 6c092cd20ca256b1cefa92aa779380cdb71c1313 (diff) | |
parent | 0e13a4e2373d891e6a895e4b6ad2b42da028ba12 (diff) |
Merge remote-tracking branch 'prism/lassulus'
Diffstat (limited to 'tv/2configs')
-rw-r--r-- | tv/2configs/default.nix | 17 | ||||
-rw-r--r-- | tv/2configs/git.nix | 7 | ||||
-rw-r--r-- | tv/2configs/retiolum.nix | 3 |
3 files changed, 15 insertions, 12 deletions
diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix index 39d0c4f6b..dbf311479 100644 --- a/tv/2configs/default.nix +++ b/tv/2configs/default.nix @@ -14,7 +14,7 @@ with import <stockholm/lib>; stockholm.file = "/home/tv/stockholm"; nixpkgs.git = { url = https://github.com/NixOS/nixpkgs; - ref = "e4fb65a3627f8c17a2f92c08bf302dc30f0a8db9"; + ref = "1e1112edc57e93046f35707b874d2a4f3ff321e6"; }; } // optionalAttrs host.secure { secrets-master.file = "/home/tv/secrets/master"; @@ -112,13 +112,14 @@ with import <stockholm/lib>; }; } - (let ca-bundle = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; in { - environment.variables = { - CURL_CA_BUNDLE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; - GIT_SSL_CAINFO = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; - SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; - }; - }) + { + environment.variables = + flip genAttrs (_: "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt") [ + "CURL_CA_BUNDLE" + "GIT_SSL_CAINFO" + "SSL_CERT_FILE" + ]; + } { services.cron.enable = false; diff --git a/tv/2configs/git.nix b/tv/2configs/git.nix index d937be2c4..b6724f40e 100644 --- a/tv/2configs/git.nix +++ b/tv/2configs/git.nix @@ -32,6 +32,9 @@ let get = {}; hack = {}; load-env = {}; + loldns = { + cgit.desc = "toy DNS server"; + }; make-snapshot = {}; much = {}; netcup = { @@ -81,12 +84,12 @@ let make-public-repo = name: { cgit ? {}, ... }: { inherit cgit name; public = true; - hooks = optionalAttrs (config.krebs.build.host.name == "cd") { + hooks = optionalAttrs (config.krebs.build.host.name == "ni") { post-receive = pkgs.git-hooks.irc-announce { # TODO make nick = config.krebs.build.host.name the default nick = config.krebs.build.host.name; channel = "#retiolum"; - server = "cd.retiolum"; + server = "ni.r"; verbose = true; }; }; diff --git a/tv/2configs/retiolum.nix b/tv/2configs/retiolum.nix index ad1116d4f..a914dad43 100644 --- a/tv/2configs/retiolum.nix +++ b/tv/2configs/retiolum.nix @@ -7,9 +7,8 @@ with import <stockholm/lib>; enable = true; connectTo = filter (ne config.krebs.build.host.name) [ "gum" + "ni" "prism" - "echelon" - "cd" ]; tincPackage = pkgs.tinc_pre; }; |