2024-04-14 22:59:23 +02:00
|
|
|
{ config, pkgs, lib, ...} :
|
2024-04-26 21:52:12 +02:00
|
|
|
let inherit (pkgs.liminix.services) oneshot longrun;
|
2024-04-14 22:59:23 +02:00
|
|
|
in {
|
|
|
|
config = {
|
|
|
|
services = rec {
|
|
|
|
mdevd = longrun {
|
|
|
|
name = "mdevd";
|
|
|
|
notification-fd = 3;
|
|
|
|
run = "${pkgs.mdevd}/bin/mdevd -D 3 -b 200000 -O4";
|
|
|
|
};
|
2024-04-26 21:52:12 +02:00
|
|
|
devout = longrun {
|
|
|
|
name = "devout";
|
|
|
|
notification-fd = 10;
|
|
|
|
run = "${pkgs.devout}/bin/devout /run/devout.sock 4";
|
|
|
|
};
|
2024-04-14 22:59:23 +02:00
|
|
|
mdevd-coldplug = oneshot {
|
|
|
|
name ="mdev-coldplug";
|
2024-04-26 21:52:12 +02:00
|
|
|
up = "${pkgs.mdevd}/bin/mdevd-coldplug -O 4";
|
|
|
|
dependencies = [devout];
|
2024-04-14 22:59:23 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|