application du template

This commit is contained in:
2016-08-12 12:46:36 +02:00
parent 1cce1ec034
commit ea307cc5dc
41 changed files with 215 additions and 88 deletions

View File

@@ -1,19 +1,21 @@
{ config, lib, pkgs, ... }:
let
inherit (lib) mkIf;
inherit (lib) mkIf mkMerge mkThenElse;
cfg = config.r6d.config-generator;
computers = config.r6d.computers;
profiles = config.r6d.profiles;
in
in mkIf cfg.xmonad {
# Paquets spécifiques pour xmonad
mkIf cfg.xmonad {
environment.systemPackages = with pkgs;[
# Paquets
environment.systemPackages = with pkgs; [
dmenu
haskellPackages.xmobar
];
# Services
services.xserver.windowManager.xmonad = {
enable = true;
enableContribAndExtras = true;

View File

@@ -13,6 +13,7 @@ in
./activation-manuelle/xmonad/xmonad.nix # gestionnaire de fenêtres xmonad
];
# Paquets
environment.systemPackages = with pkgs; mkIf profiles.isDesktop [
# Environement de bureau
arandr # interface graphique pour xrandr