services/hhhd: init handheld-daemon with tdp

This commit is contained in:
Kevin Baensch 2025-07-19 11:46:29 +02:00
parent 519a274f17
commit 820012785e
Signed by: derped
GPG key ID: C0F1D326C7626543
5 changed files with 232 additions and 0 deletions

View file

@ -0,0 +1,17 @@
{
config,
lib,
pkgs,
...
}:
with lib;
mkIf (elem "handheld-daemon" config.machine.services) {
services.handheld-daemon = {
enable = true;
package = pkgs.hhd;
user = (lib.elemAt config.machine.users 0).name;
ui.enable = true;
};
}