nixos/deepin: add deepin-turbo systemd service
This commit is contained in:
parent
77fa14725f
commit
788b45fa13
@ -17,6 +17,11 @@
|
|||||||
DBus service for unified menus in Deepin Desktop Environment.
|
DBus service for unified menus in Deepin Desktop Environment.
|
||||||
";
|
";
|
||||||
|
|
||||||
|
services.deepin.deepin-turbo.enable = lib.mkEnableOption "
|
||||||
|
Turbo service for the Deepin Desktop Environment. It is a daemon
|
||||||
|
that helps to launch applications faster.
|
||||||
|
";
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -57,12 +62,18 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
services.deepin.deepin-menu.enable = true;
|
services.deepin.deepin-menu.enable = true;
|
||||||
|
services.deepin.deepin-turbo.enable = true;
|
||||||
})
|
})
|
||||||
|
|
||||||
(lib.mkIf config.services.deepin.deepin-menu.enable {
|
(lib.mkIf config.services.deepin.deepin-menu.enable {
|
||||||
services.dbus.packages = [ pkgs.deepin.deepin-menu ];
|
services.dbus.packages = [ pkgs.deepin.deepin-menu ];
|
||||||
})
|
})
|
||||||
|
|
||||||
|
(lib.mkIf config.services.deepin.deepin-turbo.enable {
|
||||||
|
environment.systemPackages = [ pkgs.deepin.deepin-turbo ];
|
||||||
|
systemd.packages = [ pkgs.deepin.deepin-turbo ];
|
||||||
|
})
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user