use the osbmModules options
This commit is contained in:
parent
45bab77985
commit
8ea5fb6cde
1 changed files with 1 additions and 6 deletions
|
|
@ -16,12 +16,7 @@ let
|
|||
};
|
||||
in
|
||||
{
|
||||
options.services.wanikani-fetch-data.enable = lib.mkEnableOption {
|
||||
description = "Enable WaniKani Fetch Data";
|
||||
default = config.osbmModules.services.wanikani-fetch-data.enable or false;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.services.wanikani-fetch-data.enable {
|
||||
config = lib.mkIf config.osbmModules.services.wanikani-fetch-data.enable {
|
||||
systemd.timers.wanikani-fetch-data = {
|
||||
description = "WaniKani Fetch Data";
|
||||
wantedBy = [ "timers.target" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue