You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
489 B
Nix
25 lines
489 B
Nix
9 years ago
|
{ config, lib, pkgs, ... }:
|
||
9 years ago
|
|
||
9 years ago
|
let
|
||
|
inherit (lib) mkIf;
|
||
|
cfg = config.r6d.config-generator;
|
||
9 years ago
|
computers = config.r6d.computers;
|
||
|
profiles = config.r6d.profiles;
|
||
|
|
||
|
in mkIf cfg.xmonad {
|
||
|
# Paquets spécifiques pour xmonad
|
||
9 years ago
|
|
||
|
environment.systemPackages = with pkgs;[
|
||
|
dmenu
|
||
|
haskellPackages.xmobar
|
||
|
];
|
||
|
|
||
9 years ago
|
services.xserver.windowManager.xmonad = {
|
||
|
enable = true;
|
||
|
enableContribAndExtras = true;
|
||
|
extraPackages = haskellPackages: [
|
||
|
haskellPackages.xmobar
|
||
|
];
|
||
|
};
|
||
9 years ago
|
}
|