nixpkgs/nixos/modules/services/x11/window-managers
Moritz Ulrich 5890215501 windowManager.xmonad: Make it configurable and extensible.
PR #1366
The previous windowManager.xmonad option only starts xmonad and
doesn't make ghc available. This assumes that the user has GHC with
access to the xmonad package in his PATH when using xmonad.

Xmonad in Nix is now patched to accept the XMONAD_{GHC,XMESSAGE}
environment variables which define the path to either ghc or xmessage.
These are set automatically when using xmonad through
windowManager.xmonad.

My (or specific: @aristidb and my) changes make it possible to use
Xmonad without adding GHC to any profile. This is useful if you want
to add a different GHC to your profile.

This commit introduces some options:

- xmonad.haskellPackages: Controls which Haskell package set & GHC set
  is used to (re)build Xmonad

- xmonad.extraPackages: Function returning a list of additional
  packages to make available to GHC when rebuilding Xmonad

- xmonad.enableContribExtras: Boolean option to build xmonadContrib
  and xmonadExtras.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
2013-12-28 09:29:53 +01:00
..
awesome.nix Drop environment.x11Packages 2013-10-30 18:47:43 +01:00
compiz.nix
default.nix add herbstluftwm enable option 2013-12-14 14:45:33 +01:00
herbstluftwm.nix add herbstluftwm enable option 2013-12-14 14:45:33 +01:00
i3.nix Drop environment.x11Packages 2013-10-30 18:47:43 +01:00
icewm.nix Drop environment.x11Packages 2013-10-30 18:47:43 +01:00
metacity.nix
none.nix
openbox.nix Drop environment.x11Packages 2013-10-30 18:47:43 +01:00
twm.nix Drop environment.x11Packages 2013-10-30 18:47:43 +01:00
wmii.nix
xbmc.nix
xmonad.nix windowManager.xmonad: Make it configurable and extensible. 2013-12-28 09:29:53 +01:00