58240e2304
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.
30 lines
431 B
Nix
30 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 ];
|
|
|
|
};
|
|
|
|
}
|