diff options
author | tv <tv@krebsco.de> | 2016-02-14 16:43:44 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-02-14 16:43:44 +0100 |
commit | 673853e092c211e26a08030f87f9c868c6442a71 (patch) | |
tree | c71d2ac88a48cd74c37f03d1665e666030500d1d /shared/2configs | |
parent | 9f16d7ea71a2566b973ad0ac603c63ac3c6f4311 (diff) |
RIP specialArgs.lib
Diffstat (limited to 'shared/2configs')
-rw-r--r-- | shared/2configs/base.nix | 2 | ||||
-rw-r--r-- | shared/2configs/cgit-mirror.nix | 2 | ||||
-rw-r--r-- | shared/2configs/collectd-base.nix | 2 | ||||
-rw-r--r-- | shared/2configs/graphite.nix | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/shared/2configs/base.nix b/shared/2configs/base.nix index 715397ed5..679764bc6 100644 --- a/shared/2configs/base.nix +++ b/shared/2configs/base.nix @@ -1,6 +1,6 @@ { config, lib, pkgs, ... }: -with lib; +with config.krebs.lib; { krebs.enable = true; krebs.retiolum = { diff --git a/shared/2configs/cgit-mirror.nix b/shared/2configs/cgit-mirror.nix index 4ff1902f9..d30f1444f 100644 --- a/shared/2configs/cgit-mirror.nix +++ b/shared/2configs/cgit-mirror.nix @@ -1,6 +1,6 @@ { config, lib, pkgs, ... }: -with lib; +with config.krebs.lib; let rules = with git; singleton { user = [ git-sync ]; diff --git a/shared/2configs/collectd-base.nix b/shared/2configs/collectd-base.nix index 3b792bf23..9c63dcd20 100644 --- a/shared/2configs/collectd-base.nix +++ b/shared/2configs/collectd-base.nix @@ -1,7 +1,7 @@ { config, lib, pkgs, ... }: # TODO: krebs.collectd.plugins -with lib; +with config.krebs.lib; let connect-time-cfg = with pkgs; writeText "collectd-connect-time.conf" '' LoadPlugin python diff --git a/shared/2configs/graphite.nix b/shared/2configs/graphite.nix index 707ec6e9a..37c6b09fd 100644 --- a/shared/2configs/graphite.nix +++ b/shared/2configs/graphite.nix @@ -5,7 +5,7 @@ # TODO: krebs.graphite.minimal.enable # TODO: configure firewall -with lib; +with config.krebs.lib; { imports = [ ]; |