1 { config, lib, pkgs, ... }:
4 cfg = config.services.canto-daemon;
12 services.canto-daemon = {
13 enable = lib.mkOption {
14 type = lib.types.bool;
16 description = "Whether to enable the canto RSS daemon.";
24 config = lib.mkIf cfg.enable {
26 systemd.user.services.canto-daemon = {
27 description = "Canto RSS Daemon";
28 after = [ "network.target" ];
29 wantedBy = [ "default.target" ];
30 serviceConfig.ExecStart = "${pkgs.canto-daemon}/bin/canto-daemon";