nixpkgs/nixos/modules/services/x11/desktop-managers/e17.nix

31 lines
431 B
Nix
Raw Normal View History

{ 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 ];
};
}