10 maintainers = lib.teams.deepin.members;
17 services.deepin.dde-api = {
19 enable = lib.mkEnableOption ''
20 the DDE API, which provides some dbus interfaces that is used for screen zone detecting,
21 thumbnail generating, and sound playing in Deepin Desktop Environment
30 config = lib.mkIf config.services.deepin.dde-api.enable {
32 environment.systemPackages = [ pkgs.deepin.dde-api ];
34 services.dbus.packages = [ pkgs.deepin.dde-api ];
36 systemd.packages = [ pkgs.deepin.dde-api ];
38 environment.pathsToLink = [ "/lib/deepin-api" ];
40 users.groups.deepin-sound-player = { };
41 users.users.deepin-sound-player = {
42 description = "Deepin sound player";
43 home = "/var/lib/deepin-sound-player";
45 group = "deepin-sound-player";