about summary refs log tree commit diff
path: root/nixos/modules/services/x11/desktop-managers/e17.nix
blob: 4cac53c9c75b9fe6608a862eba1431cd0e4c6888 (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
30
{ config, lib, pkgs, ... }:

with lib;

let

  xcfg = config.services.xserver;
  cfg = xcfg.desktopManager.e17;

in

{
  options = {

    services.xserver.desktopManager.e17.enable = mkOption {
      default = false;
      example = true;
      description = "Enable support for the E17 desktop environment.";
    };

  };


  config = mkIf (xcfg.enable && cfg.enable) {

    services.dbus.packages = [ pkgs.e17.ethumb ];

  };

}