11 cfg = config.services.picosnitch;
14 options.services.picosnitch = {
15 enable = mkEnableOption "picosnitch daemon";
17 config = mkIf cfg.enable {
18 environment.systemPackages = [ pkgs.picosnitch ];
19 systemd.services.picosnitch = {
20 description = "picosnitch";
21 wantedBy = [ "multi-user.target" ];
26 ExecStart = "${pkgs.picosnitch}/bin/picosnitch start-no-daemon";
27 PIDFile = "/run/picosnitch/picosnitch.pid";