configuration pour xmonad

This commit is contained in:
Yves Dubromelle
2016-07-21 00:22:07 +02:00
parent 7e9a8131a3
commit 51787ab25b
2 changed files with 19 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
{ config, lib, pkgs, ... }:
let
inherit (lib) mkIf;
cfg = config.r6d.config-generator;
in mkIf cfg.xmonad {
# Paquets spécifiques pour un ordinateur portable
environment.systemPackages = with pkgs;[
dmenu
haskellPackages.xmobar
];
services.xserver.windowManager.xmonad.enable = true;
services.xserver.windowManager.xmonad.enableContribAndExtras = true;
services.xserver.windowManager.xmonad.extraPackages = haskellPackages: [
haskellPackages.xmobar
];
}