services.deepin.app-services: add systemd service
https://github.com/linuxdeepin/dde-app-services/pull/45
This commit is contained in:
parent
0ec84863a0
commit
245ae0f64f
1 changed files with 10 additions and 1 deletions
|
@ -25,8 +25,17 @@ with lib;
|
||||||
|
|
||||||
config = mkIf config.services.deepin.app-services.enable {
|
config = mkIf config.services.deepin.app-services.enable {
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.deepin.dde-app-services ];
|
users.groups.dde-dconfig-daemon = { };
|
||||||
|
users.users.dde-dconfig-daemon = {
|
||||||
|
description = "Dconfig daemon user";
|
||||||
|
home = "/var/lib/dde-dconfig-daemon";
|
||||||
|
createHome = true;
|
||||||
|
group = "dde-dconfig-daemon";
|
||||||
|
isSystemUser = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = [ pkgs.deepin.dde-app-services ];
|
||||||
|
systemd.packages = [ pkgs.deepin.dde-app-services ];
|
||||||
services.dbus.packages = [ pkgs.deepin.dde-app-services ];
|
services.dbus.packages = [ pkgs.deepin.dde-app-services ];
|
||||||
|
|
||||||
environment.pathsToLink = [ "/share/dsg" ];
|
environment.pathsToLink = [ "/share/dsg" ];
|
||||||
|
|
Loading…
Reference in a new issue