summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-07-24 11:55:16 +0200
committertv <tv@shackspace.de>2015-07-24 11:55:16 +0200
commitb6987329fe6dca5aca96fc651f06867c26dbf236 (patch)
tree83b4388ed3dab33088eb08f7391a6fa988a76b66
parent5f63c4071c7b1680e75671c0acede8a9bce4b14c (diff)
3: {tv -> krebs}.urlwatch
-rw-r--r--1systems/tv/wu.nix4
-rw-r--r--3modules/krebs/urlwatch.nix (renamed from 3modules/tv/urlwatch.nix)6
2 files changed, 5 insertions, 5 deletions
diff --git a/1systems/tv/wu.nix b/1systems/tv/wu.nix
index 7a12bc57..1d7bbe55 100644
--- a/1systems/tv/wu.nix
+++ b/1systems/tv/wu.nix
@@ -156,8 +156,8 @@ in
};
}
{
- imports = [ ../../3modules/tv/urlwatch.nix ];
- tv.urlwatch = {
+ imports = [ ../../3modules/krebs/urlwatch.nix ];
+ krebs.urlwatch = {
enable = true;
mailto = "tv@wu.retiolum"; # TODO
onCalendar = "*-*-* 05:00:00";
diff --git a/3modules/tv/urlwatch.nix b/3modules/krebs/urlwatch.nix
index a659fc74..58de72fc 100644
--- a/3modules/tv/urlwatch.nix
+++ b/3modules/krebs/urlwatch.nix
@@ -8,16 +8,16 @@
with builtins;
with lib;
let
- cfg = config.tv.urlwatch;
+ cfg = config.krebs.urlwatch;
# TODO assert sendmail's existence
out = {
- options.tv.urlwatch = api;
+ options.krebs.urlwatch = api;
config = mkIf cfg.enable imp;
};
api = {
- enable = mkEnableOption "tv.urlwatch";
+ enable = mkEnableOption "krebs.urlwatch";
dataDir = mkOption {
type = types.str;