···22 '';
23 };
2425+ autoMountShares = mkOption {
26+ type = types.bool;
27+ default = true;
28+ description = ''
29+ Control prlfsmountd service. When this service is running, shares can not be manually
30+ mounted through `mount -t prl_fs ...` as this service will remount and trample any set options.
31+ Recommended to enable for simple file sharing, but extended share use such as for code should
32+ disable this to manually mount shares.
33+ '';
34+ };
35 };
3637 };
···77 };
78 };
7980+ systemd.services.prlfsmountd = mkIf config.hardware.parallels.autoMountShares {
81 description = "Parallels Shared Folders Daemon";
82 wantedBy = [ "multi-user.target" ];
83 serviceConfig = rec {