nixos/deepin-menu: init
This commit is contained in:
parent
45e8b236fc
commit
9e99eed443
@ -255,6 +255,7 @@
|
||||
./services/databases/virtuoso.nix
|
||||
./services/desktops/accountsservice.nix
|
||||
./services/desktops/bamf.nix
|
||||
./services/desktops/deepin/deepin-menu.nix
|
||||
./services/desktops/dleyna-renderer.nix
|
||||
./services/desktops/dleyna-server.nix
|
||||
./services/desktops/pantheon/contractor.nix
|
||||
|
29
nixos/modules/services/desktops/deepin/deepin-menu.nix
Normal file
29
nixos/modules/services/desktops/deepin/deepin-menu.nix
Normal file
@ -0,0 +1,29 @@
|
||||
# deepin-menu
|
||||
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
|
||||
###### interface
|
||||
|
||||
options = {
|
||||
|
||||
services.deepin.deepin-menu = {
|
||||
|
||||
enable = lib.mkEnableOption
|
||||
"DBus service for unified menus in Deepin Desktop Environment";
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
###### implementation
|
||||
|
||||
config = lib.mkIf config.services.deepin.deepin-menu.enable {
|
||||
|
||||
services.dbus.packages = [ pkgs.deepin.deepin-menu ];
|
||||
|
||||
};
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user