1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 21:54:10 +00:00
nixpkgs/nixos/modules/services/x11/desktop-managers/e17.nix

31 lines
431 B
Nix

{ config, pkgs, ... }:
with pkgs.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 ];
};
}