Created
April 2, 2019 17:06
-
-
Save srhb/2d137d5227b7386ad086563277685b8b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, ... }: | |
{ | |
# Let Home Manager install and manage itself. | |
programs.home-manager.enable = true; | |
xsession = { | |
windowManager.xmonad = { | |
enable = true; | |
enableContribAndExtras = true; | |
config = pkgs.writeText "xmonad.hs" '' | |
import XMonad | |
main = xmonad defaultConfig | |
{ terminal = "urxvt" | |
, modMask = mod4Mask | |
, borderWidth = 3 | |
} | |
''; | |
haskellPackages = pkgs.haskell.packages.ghc844; | |
extraPackages = haskellPackages: [ | |
haskellPackages.xmonad-contrib | |
haskellPackages.monad-logger | |
haskellPackages.xmonad-extras | |
haskellPackages.xmonad | |
]; | |
}; | |
}; | |
home.stateVersion = "18.09"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment