1 { pkgs, config, lib, ... }:
3 cfg = config.services.devmon;
8 enable = lib.mkEnableOption "devmon, an automatic device mounting daemon";
12 config = lib.mkIf cfg.enable {
13 systemd.user.services.devmon = {
14 description = "devmon automatic device mounting daemon";
15 wantedBy = [ "default.target" ];
16 path = [ pkgs.udevil pkgs.procps pkgs.udisks2 pkgs.which ];
17 serviceConfig.ExecStart = "${pkgs.udevil}/bin/devmon";
20 services.udisks2.enable = true;