3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules
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
..
config Disable various services when running inside a container 2013-11-26 18:19:45 +01:00
hardware Add some primops to lib 2013-11-12 13:48:30 +01:00
installer Put /efi and /loader on the main livecd partition for efi booting with unetbootin 2013-11-14 18:18:46 -05:00
misc memcached: set uid to make it work with #1076 2013-12-13 10:09:08 +01:00
profiles Hack to work around the lack of isPath 2013-10-28 22:45:57 +01:00
programs nixos: capitalize a bunch of service descriptions 2013-11-09 20:45:50 +01:00
security polkit: Add some examples 2013-11-18 18:04:17 +01:00
services windowManager.xmonad: Make it configurable and extensible. 2013-12-28 09:29:53 +01:00
system nixos initrd: load atkbd, not xtkbd 2013-12-23 09:01:45 +01:00
tasks Disable various services when running inside a container 2013-11-26 18:19:45 +01:00
testing Allow running NixOS services outside of systemd 2013-11-18 18:04:17 +01:00
virtualisation Google Compute image: fix punctuation in description, give disk image proper name with version and revision. 2013-12-12 12:48:09 +01:00
module-list.nix nixos: add ntopng service 2013-12-09 21:35:01 +01:00
rename.nix Drop environment.x11Packages 2013-10-30 18:47:43 +01:00