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.
27 lines
496 B
Nix
27 lines
496 B
Nix
9 years ago
|
{ config, lib, pkgs, ... }:
|
||
9 years ago
|
|
||
9 years ago
|
let
|
||
9 years ago
|
inherit (lib) mkIf mkMerge mkThenElse;
|
||
9 years ago
|
cfg = config.r6d.config-generator;
|
||
9 years ago
|
computers = config.r6d.computers;
|
||
|
profiles = config.r6d.profiles;
|
||
9 years ago
|
in
|
||
9 years ago
|
|
||
9 years ago
|
mkIf cfg.xmonad {
|
||
9 years ago
|
|
||
9 years ago
|
# Paquets
|
||
|
environment.systemPackages = with pkgs; [
|
||
9 years ago
|
dmenu
|
||
|
haskellPackages.xmobar
|
||
|
];
|
||
|
|
||
9 years ago
|
# Services
|
||
9 years ago
|
services.xserver.windowManager.xmonad = {
|
||
|
enable = true;
|
||
|
enableContribAndExtras = true;
|
||
|
extraPackages = haskellPackages: [
|
||
|
haskellPackages.xmobar
|
||
|
];
|
||
|
};
|
||
9 years ago
|
}
|