3: {tv -> krebs}.urlwatch
This commit is contained in:
parent
5f63c4071c
commit
b6987329fe
|
@ -156,8 +156,8 @@ in
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
imports = [ ../../3modules/tv/urlwatch.nix ];
|
imports = [ ../../3modules/krebs/urlwatch.nix ];
|
||||||
tv.urlwatch = {
|
krebs.urlwatch = {
|
||||||
enable = true;
|
enable = true;
|
||||||
mailto = "tv@wu.retiolum"; # TODO
|
mailto = "tv@wu.retiolum"; # TODO
|
||||||
onCalendar = "*-*-* 05:00:00";
|
onCalendar = "*-*-* 05:00:00";
|
||||||
|
|
|
@ -8,16 +8,16 @@
|
||||||
with builtins;
|
with builtins;
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.tv.urlwatch;
|
cfg = config.krebs.urlwatch;
|
||||||
|
|
||||||
# TODO assert sendmail's existence
|
# TODO assert sendmail's existence
|
||||||
out = {
|
out = {
|
||||||
options.tv.urlwatch = api;
|
options.krebs.urlwatch = api;
|
||||||
config = mkIf cfg.enable imp;
|
config = mkIf cfg.enable imp;
|
||||||
};
|
};
|
||||||
|
|
||||||
api = {
|
api = {
|
||||||
enable = mkEnableOption "tv.urlwatch";
|
enable = mkEnableOption "krebs.urlwatch";
|
||||||
|
|
||||||
dataDir = mkOption {
|
dataDir = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
Loading…
Reference in New Issue
Block a user