Skip to content

Instantly share code, notes, and snippets.

@srhb
Created April 2, 2019 17:06
Show Gist options
  • Save srhb/2d137d5227b7386ad086563277685b8b to your computer and use it in GitHub Desktop.
Save srhb/2d137d5227b7386ad086563277685b8b to your computer and use it in GitHub Desktop.
{ 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