nixpkgs/nixos/modules/services/x11/window-managers
Kurt Robert Rudolph c54beb953d nixos/xmonad: Fix behavior of config opt
Prior to this change, the `config` option (which allows you define the
haskell configuration for xmonad in your configuration.nix instead of
needing something in the home directory) prevents desktop manager
resources from starting. This can be demonstrated by configuring the
following:

```
  services.xserver = {
    displayManager.defaultSession = "xfce+xmonad";
    displayManager.lightdm.enable = true;

    desktopManager.xterm.enable = false;
    desktopManager.xfce.enable = true;
    desktopManager.xfce.enableXfwm = false;
    desktopManager.xfce.noDesktop = true;

    windowManager.xmonad = {
      enable = true;
      enableContribAndExtras = true;
      extraPackages = haskellPackages: [
        haskellPackages.xmonad-contrib
        haskellPackages.xmonad-extras
        haskellPackages.xmonad
      ];
      config = ''
        import XMonad
        import XMonad.Config.Xfce
        main = xmonad xfceConfig
               { terminal = "terminator"
               , modMask = mod4Mask }
      '';
    };
  };
```

and after user log in, search for xfce processes `ps aux | grep xfce`.
You will not find xfce processes running until after the xmonad process is killed.

The bug prevents utilities included with the desktopManager,
(e.g. powerManagement, session logout, etc.)
from working as expected.
2020-08-10 19:17:54 -07:00
..
2bwm.nix avoid package attributes starting with a digit 2018-01-16 21:13:16 +01:00
afterstep.nix Getting rid of mkOption in NixOS window manager modules 2015-12-04 07:38:23 -02:00
awesome.nix nixos/awesome: Add noArgb option 2018-06-13 19:47:26 +02:00
berry.nix berry: init at 0.1.5 2020-05-13 21:32:54 -03:00
bspwm.nix nixos/bspwm: spawn bpswm process in the background and properly set waiPID (#39707) 2018-04-30 17:03:05 +00:00
clfswm.nix Getting rid of mkOption in NixOS window manager modules 2015-12-04 07:38:23 -02:00
cwm.nix nixos/cwm: init 2019-09-29 23:26:08 +02:00
default.nix lwm: init at 1.2.4 2020-05-13 21:32:54 -03:00
dwm.nix nixos dwm: start user installed dwm if available 2019-03-11 20:18:08 +01:00
evilwm.nix nixos/evilwm: allow enabling evilwm through services.xserver.windowManager.evilwm.* 2017-11-20 07:50:28 +01:00
exwm.nix nixos/treewide: remove boolean examples for options 2017-03-17 23:36:19 +01:00
fluxbox.nix Fix evaluation after merge of #11450. 2015-12-04 15:40:47 +01:00
fvwm.nix fvwm module: init; now fvwm can be used as an xserver.windowManager 2017-04-05 11:12:46 -04:00
herbstluftwm.nix herbstluftwm module: add configFile option 2017-02-21 05:46:13 +01:00
i3.nix nixos/window-managers/i3: write config file to /etc/i3/config 2019-04-26 21:12:52 +02:00
icewm.nix Getting rid of mkOption in NixOS window manager modules 2015-12-04 07:38:23 -02:00
jwm.nix jwm: window manager module addition 2016-03-07 16:07:13 -03:00
leftwm.nix leftwm: enable service 2019-05-26 01:27:04 +09:00
lwm.nix lwm: init at 1.2.4 2020-05-13 21:32:54 -03:00
metacity.nix nixos/metacity: switch to gnome3.metacity 2018-08-09 17:36:47 +02:00
mwm.nix motif: init at 2.3.6 2016-07-28 01:33:45 +03:00
none.nix Revert "nixos/none: remove" 2020-04-02 04:07:18 -04:00
notion.nix Getting rid of mkOption in NixOS window manager modules 2015-12-04 07:38:23 -02:00
openbox.nix [bot] treewide: remove unused 'inherit' in let blocks 2018-07-20 19:38:19 +00:00
oroborus.nix Oroborus: init at 2.0.20 2015-07-23 13:50:26 -03:00
pekwm.nix pekwm: init at 0.1.17 2016-07-09 22:26:24 -03:00
qtile.nix nixos/modules: remove trailing whitespace 2020-08-07 14:45:39 +01:00
ratpoison.nix Getting rid of mkOption in NixOS window manager modules 2015-12-04 07:38:23 -02:00
sawfish.nix Getting rid of mkOption in NixOS window manager modules 2015-12-04 07:38:23 -02:00
smallwm.nix smallwm: init at 2020-02-28 2020-05-13 21:32:54 -03:00
spectrwm.nix Getting rid of mkOption in NixOS window manager modules 2015-12-04 07:38:23 -02:00
stumpwm.nix nixos: stumpwm: switch from package marked as broken to working quicklisp package (#40501) 2018-05-14 18:37:53 +02:00
tinywm.nix tinywm: init at 2014-04-22 2020-05-08 15:29:25 -03:00
twm.nix Getting rid of mkOption in NixOS window manager modules 2015-12-04 07:38:23 -02:00
windowlab.nix WindowLab: initial pkg at 1.40 2015-12-30 11:10:30 +01:00
windowmaker.nix Getting rid of mkOption in NixOS window manager modules 2015-12-04 07:38:23 -02:00
wmii.nix Merge pull request #43863 from volth/unused4 2018-07-21 16:39:08 +01:00
xmonad.nix nixos/xmonad: Fix behavior of config opt 2020-08-10 19:17:54 -07:00
yeahwm.nix yeahwm: init at 0.3.5 2020-05-13 21:32:54 -03:00