summaryrefslogtreecommitdiffstats
path: root/tv/3modules/charybdis
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2022-12-09 01:31:56 +0100
committertv <tv@krebsco.de>2022-12-09 01:34:31 +0100
commit6d64096cd99db27357bf2d038bdfdfc2d3a3aeae (patch)
treee1361555d8e32ec72ea2170852be432d347b381e /tv/3modules/charybdis
parente56f5d7e61e46852ebe1b4904d6f4085091bd469 (diff)
tv: normalize lib imports
Diffstat (limited to 'tv/3modules/charybdis')
-rw-r--r--tv/3modules/charybdis/config.nix2
-rw-r--r--tv/3modules/charybdis/default.nix3
l---------tv/3modules/charybdis/lib1
3 files changed, 4 insertions, 2 deletions
diff --git a/tv/3modules/charybdis/config.nix b/tv/3modules/charybdis/config.nix
index dccbfde67..4669345eb 100644
--- a/tv/3modules/charybdis/config.nix
+++ b/tv/3modules/charybdis/config.nix
@@ -1,4 +1,4 @@
-{ config, ... }: with import <stockholm/lib>; let
+{ config, ... }: with import ./lib; let
cfg = config.tv.charybdis;
in toFile "charybdis.conf" ''
/* doc/example.conf - brief example configuration file
diff --git a/tv/3modules/charybdis/default.nix b/tv/3modules/charybdis/default.nix
index 96aae702a..4a0f99503 100644
--- a/tv/3modules/charybdis/default.nix
+++ b/tv/3modules/charybdis/default.nix
@@ -1,4 +1,5 @@
-{ config, lib, pkgs, ... }@args: with import <stockholm/lib>; let
+with import ./lib;
+{ config, pkgs, ... }@args: let
cfg = config.tv.charybdis;
in {
options.tv.charybdis = {
diff --git a/tv/3modules/charybdis/lib b/tv/3modules/charybdis/lib
new file mode 120000
index 000000000..dc598c56d
--- /dev/null
+++ b/tv/3modules/charybdis/lib
@@ -0,0 +1 @@
+../lib \ No newline at end of file