nixpkgs/modules/services/x11/desktop-managers/e17.nix
Mathijs Kwik 58240e2304 add e17 desktop manager
desktop-manager is a bit misleading in this case as there is no
session yet and most apps are still missing. This can eventually
grow further once more e17 apps get packaged for nix.

However, for now, I need to initialize some e17 dbus services to
have the "terminology" terminal emulator provide gfx previews.
2013-04-04 22:19:22 +02:00

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