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
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
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
fvwm.nix fvwm module: init; now fvwm can be used as an xserver.windowManager 2017-04-05 11:12:46 -04:00
herbstluftwm.nix
i3.nix nixos/window-managers/i3: write config file to /etc/i3/config 2019-04-26 21:12:52 +02:00
icewm.nix
jwm.nix
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
none.nix Revert "nixos/none: remove" 2020-04-02 04:07:18 -04:00
notion.nix
openbox.nix [bot] treewide: remove unused 'inherit' in let blocks 2018-07-20 19:38:19 +00:00
oroborus.nix
pekwm.nix
qtile.nix nixos/modules: remove trailing whitespace 2020-08-07 14:45:39 +01:00
ratpoison.nix
sawfish.nix
smallwm.nix smallwm: init at 2020-02-28 2020-05-13 21:32:54 -03:00
spectrwm.nix
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
windowlab.nix
windowmaker.nix
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