summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-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;