diff options
author | tv <tv@krebsco.de> | 2022-12-09 01:31:56 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2022-12-09 01:34:31 +0100 |
commit | c82942bb7b872765d109d5cc5fccec5f945f1200 (patch) | |
tree | c3fc33486d8743a7e7d6000db4c9242d0bb2370f /tv/3modules/charybdis | |
parent | de73040c985a595111cc3500d70a8c60f9f960e3 (diff) |
tv: normalize lib imports
Diffstat (limited to 'tv/3modules/charybdis')
-rw-r--r-- | tv/3modules/charybdis/config.nix | 2 | ||||
-rw-r--r-- | tv/3modules/charybdis/default.nix | 3 | ||||
l--------- | tv/3modules/charybdis/lib | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/tv/3modules/charybdis/config.nix b/tv/3modules/charybdis/config.nix index dccbfde..4669345 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 96aae70..4a0f995 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 0000000..dc598c5 --- /dev/null +++ b/tv/3modules/charybdis/lib @@ -0,0 +1 @@ +../lib
\ No newline at end of file |