2016-07-10 22:06:26 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
2016-07-26 15:57:02 +02:00
|
|
|
|
2016-07-10 22:06:26 +02:00
|
|
|
let
|
2016-08-12 12:46:36 +02:00
|
|
|
inherit (lib) mkIf mkMerge mkThenElse;
|
2017-04-24 23:22:11 +02:00
|
|
|
annuaire = config.r6d.machines;
|
2021-05-06 23:50:07 +02:00
|
|
|
currentMachine = annuaire."${config.networking.fqdn}";
|
2017-05-31 00:23:10 +02:00
|
|
|
flags = currentMachine.configurationFlags;
|
2016-08-08 22:58:30 +02:00
|
|
|
in
|
2016-07-26 15:57:02 +02:00
|
|
|
|
2017-04-27 22:06:12 +02:00
|
|
|
mkIf (flags.developpement-haskell && flags.graphical) {
|
2016-05-17 17:06:11 +02:00
|
|
|
|
2016-08-12 12:46:36 +02:00
|
|
|
# Paquets
|
2016-07-26 15:57:02 +02:00
|
|
|
environment.systemPackages = with pkgs; [
|
2017-03-25 12:45:33 +01:00
|
|
|
] ++ (with pkgs.haskellPackages; [
|
|
|
|
|
# Haskell lib
|
2019-05-09 12:30:21 +02:00
|
|
|
#threadscope # visualisation des threads (<bidule>.eventlog)
|
2017-03-25 12:45:33 +01:00
|
|
|
]);
|
2016-05-17 17:06:11 +02:00
|
|
|
}
|