services/hhhd: init handheld-daemon with tdp
This commit is contained in:
parent
519a274f17
commit
820012785e
5 changed files with 232 additions and 0 deletions
17
services/handheld-daemon.nix
Normal file
17
services/handheld-daemon.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue