eg25-manager: actually ship udev rules (?)

This commit is contained in:
2024-09-19 23:25:59 +00:00
parent 1cc809b347
commit 381641b2db

View File

@@ -4,7 +4,10 @@ let
in
{
sane.programs.eg25-manager = {
# it has to be enabled system-wide for its udev rules to make it into /run/current-system/sw/lib/udev/rules.d.
enableFor.system = lib.mkIf (builtins.any (en: en) (builtins.attrValues cfg.enableFor.user)) true;
};
# not sure if this is required or if it's enough that eg25-manager is on system.packages.
services.udev.packages = lib.mkIf cfg.enabled [ cfg.package ];
}