11 cfg = config.services.xserver.windowManager.wmderland;
15 options.services.xserver.windowManager.wmderland = {
16 enable = mkEnableOption "wmderland";
18 extraSessionCommands = mkOption {
22 Shell commands executed just before wmderland is started.
26 extraPackages = mkOption {
27 type = with types; listOf package;
28 default = with pkgs; [
36 defaultText = literalExpression ''
47 Extra packages to be installed system wide.
52 config = mkIf cfg.enable {
53 services.xserver.windowManager.session = singleton {
56 ${cfg.extraSessionCommands}
58 ${pkgs.wmderland}/bin/wmderland &
62 environment.systemPackages = [
65 ] ++ cfg.extraPackages;