about summary refs log tree commit diff
path: root/nixpkgs/nixos/modules/services/desktops/deepin/deepin-menu.nix
blob: 23fe5a741c424fd42d6b0c09ab70e6a0d0a97faa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 ];

  };

}