1 { config, lib, pkgs, ... }:
4 cfg = config.services.xserver.windowManager.dk;
9 services.xserver.windowManager.dk = {
10 enable = lib.mkEnableOption "dk";
12 package = lib.mkPackageOption pkgs "dk" { };
16 config = lib.mkIf cfg.enable {
17 services.xserver.windowManager.session = lib.singleton {
20 export _JAVA_AWT_WM_NONREPARENTING=1
21 ${cfg.package}/bin/dk &
25 environment.systemPackages = [ cfg.package ];