3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/services
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
..
amqp Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
audio Disable various services when running inside a container 2013-11-26 18:19:45 +01:00
backup Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
databases memcached: set uid to make it work with #1076 2013-12-13 10:09:08 +01:00
games Strictly check the arguments to mkOption 2013-10-30 15:35:09 +01:00
hardware Add support for lightweight NixOS containers 2013-11-27 17:14:10 +01:00
logging Disable various services when running inside a container 2013-11-26 18:19:45 +01:00
mail Substitute "types.uniq types.string" -> "types.str" 2013-10-30 14:57:42 +01:00
misc When setting $NIX_REMOTE, check whether /nix/var/nix/db is writable 2013-11-27 17:09:17 +01:00
monitoring Make dd-agent services restart when killed. 2013-11-22 15:23:45 +01:00
network-filesystems nixos: capitalize a bunch of service descriptions 2013-11-09 20:45:50 +01:00
networking nixos: don't white-list port 8200 in the firewall when minidlna is enabled 2013-12-23 21:32:13 +01:00
printing nixos: don't white-list port 631 in the firewall when CUPS is enabled 2013-12-23 21:27:07 +01:00
scheduling fcron: Fix error when cron.mailto is null. 2013-11-04 11:07:11 +00:00
search Removed unnecessary mkIf 2013-11-05 08:52:23 +01:00
security fail2ban: Fix preStart action 2013-12-11 21:16:58 +01:00
system Add lots of missing option types 2013-10-30 18:47:43 +01:00
torrent Add some primops to lib 2013-11-12 13:48:30 +01:00
ttys Add lots of missing option types 2013-10-30 18:47:43 +01:00
web-servers mediawiki: Update to 1.20.8 2013-12-20 14:46:57 +01:00
x11 windowManager.xmonad: Make it configurable and extensible. 2013-12-28 09:29:53 +01:00