2023-05-24 13:37:59 +00:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
maintainers = teams.deepin.members;
|
|
|
|
};
|
|
|
|
|
|
|
|
###### interface
|
|
|
|
|
|
|
|
options = {
|
|
|
|
|
|
|
|
services.deepin.app-services = {
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
enable = mkEnableOption (lib.mdDoc "service collection of DDE applications, including dconfig-center");
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
###### implementation
|
|
|
|
|
|
|
|
config = mkIf config.services.deepin.app-services.enable {
|
|
|
|
|
|
|
|
environment.systemPackages = [ pkgs.deepin.dde-app-services ];
|
|
|
|
|
|
|
|
services.dbus.packages = [ pkgs.deepin.dde-app-services ];
|
|
|
|
|
|
|
|
environment.pathsToLink = [ "/share/dsg" ];
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|