xsession.windowManager.xmonad.config

Home-Manager option

The configuration file to be used for xmonad. This must be an absolute path or null in which case ~/.xmonad/xmonad.hs will not be managed by Home Manager. If this option is set to a non-null value, recompilation of xmonad outside of Home Manager (e.g. via xmonad --recompile) will fail.

type: null or absolute path
Default
null
Example
pkgs.writeText "xmonad.hs" '' import XMonad main = xmonad defaultConfig { terminal = "urxvt" , modMask = mod4Mask , borderWidth = 3 } ''
declared in: <home-manager/modules/services/window-managers/xmonad.nix>source unavailable