|
|
@ -2,14 +2,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
let
|
|
|
|
let
|
|
|
|
inherit (lib) mkIf mkMerge mkThenElse;
|
|
|
|
inherit (lib) mkIf mkMerge mkThenElse;
|
|
|
|
cfg = config.r6d.config-generator;
|
|
|
|
|
|
|
|
computers = config.r6d.computers;
|
|
|
|
|
|
|
|
profiles = config.r6d.profiles;
|
|
|
|
|
|
|
|
annuaire = config.r6d.machines;
|
|
|
|
annuaire = config.r6d.machines;
|
|
|
|
currentMachine = annuaire."${config.networking.hostName}";
|
|
|
|
currentMachine = annuaire."${config.networking.hostName}";
|
|
|
|
|
|
|
|
flags = currentMachine.configuration-flags;
|
|
|
|
in
|
|
|
|
in
|
|
|
|
|
|
|
|
|
|
|
|
mkIf cfg.edition-musique {
|
|
|
|
mkIf flags.edition-musique {
|
|
|
|
|
|
|
|
|
|
|
|
# Paquets
|
|
|
|
# Paquets
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|