1 { pkgs, config, lib, ... }:
6 cfg = config.services.devmon;
11 enable = mkEnableOption (lib.mdDoc "devmon, an automatic device mounting daemon");
15 config = mkIf cfg.enable {
16 systemd.user.services.devmon = {
17 description = "devmon automatic device mounting daemon";
18 wantedBy = [ "default.target" ];
19 path = [ pkgs.udevil pkgs.procps pkgs.udisks2 pkgs.which ];
20 serviceConfig.ExecStart = "${pkgs.udevil}/bin/devmon";
23 services.udisks2.enable = true;