summaryrefslogtreecommitdiffstats
path: root/shared/2configs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-10-20 20:54:38 +0200
committertv <tv@krebsco.de>2016-10-20 20:54:38 +0200
commitf47bab7f710b7c8a282c3a3c38affc8a0bc30cc9 (patch)
treea7f59f4511ced29de7bdb4334d84b2f9cd137838 /shared/2configs
parent4a6fbbbe503e32096a30a07c3ee51d3524057b8e (diff)
drop config.krebs.lib
Diffstat (limited to 'shared/2configs')
-rw-r--r--shared/2configs/cgit-mirror.nix2
-rw-r--r--shared/2configs/collectd-base.nix2
-rw-r--r--shared/2configs/default.nix2
-rw-r--r--shared/2configs/graphite.nix2
-rw-r--r--shared/2configs/shack-drivedroid.nix2
5 files changed, 5 insertions, 5 deletions
diff --git a/shared/2configs/cgit-mirror.nix b/shared/2configs/cgit-mirror.nix
index d9241a2b5..a3860a0ef 100644
--- a/shared/2configs/cgit-mirror.nix
+++ b/shared/2configs/cgit-mirror.nix
@@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
-with config.krebs.lib;
+with import <stockholm/lib>;
let
rules = with git; singleton {
user = [ wolf-repo-sync ];
diff --git a/shared/2configs/collectd-base.nix b/shared/2configs/collectd-base.nix
index 9c63dcd20..fd6016d4f 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 config.krebs.lib;
+with import <stockholm/lib>;
let
connect-time-cfg = with pkgs; writeText "collectd-connect-time.conf" ''
LoadPlugin python
diff --git a/shared/2configs/default.nix b/shared/2configs/default.nix
index f5377db94..cae2bc814 100644
--- a/shared/2configs/default.nix
+++ b/shared/2configs/default.nix
@@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
-with config.krebs.lib;
+with import <stockholm/lib>;
{
krebs.enable = true;
krebs.tinc.retiolum.enable = true;
diff --git a/shared/2configs/graphite.nix b/shared/2configs/graphite.nix
index bfa2b2966..8a1238466 100644
--- a/shared/2configs/graphite.nix
+++ b/shared/2configs/graphite.nix
@@ -5,7 +5,7 @@
# TODO: krebs.graphite.minimal.enable
# TODO: configure firewall
-with config.krebs.lib;
+with import <stockholm/lib>;
{
imports = [ ];
diff --git a/shared/2configs/shack-drivedroid.nix b/shared/2configs/shack-drivedroid.nix
index 6133ccc99..3581f9e96 100644
--- a/shared/2configs/shack-drivedroid.nix
+++ b/shared/2configs/shack-drivedroid.nix
@@ -1,5 +1,5 @@
{ pkgs, lib, config, ... }:
-with config.krebs.lib;
+with import <stockholm/lib>;
let
repodir = "/var/srv/drivedroid";
srepodir = shell.escape repodir;