9 cfg = config.services.safeeyes;
21 enable = lib.mkEnableOption "the safeeyes OSGi service";
29 config = lib.mkIf cfg.enable {
31 environment.systemPackages = [ pkgs.safeeyes ];
33 systemd.user.services.safeeyes = {
34 description = "Safeeyes";
36 wantedBy = [ "graphical-session.target" ];
37 partOf = [ "graphical-session.target" ];
39 startLimitIntervalSec = 350;
43 ${pkgs.safeeyes}/bin/safeeyes
45 Restart = "on-failure";