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.
53 lines
1.2 KiB
Nix
53 lines
1.2 KiB
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
inherit (lib) mkIf mkMerge mkThenElse;
|
|
annuaire = config.r6d.machines;
|
|
currentMachine = annuaire."${config.networking.hostName}";
|
|
flags = currentMachine.configuration-flags;
|
|
in
|
|
# TODO: ménage
|
|
mkIf (flags.internetSuite && flags.graphical) {
|
|
|
|
# Paquets
|
|
environment.systemPackages = with pkgs; [
|
|
# Clients Internet
|
|
|
|
## Navigateur
|
|
chromium
|
|
firefox
|
|
|
|
## Mail & Discussion (texte, audio)
|
|
clawsMail
|
|
hexchat
|
|
quassel
|
|
quasselClient
|
|
mumble
|
|
pidgin
|
|
thunderbird
|
|
|
|
# Transfert de fichier
|
|
filezilla
|
|
transmission_gtk
|
|
transmission_remote_gtk
|
|
];
|
|
|
|
/* TODO: voir pour appliquer la personnalisation
|
|
nixpkgs.config.packageOverrides = pkgs: {
|
|
clawsMail = pkgs.clawsMail.override {
|
|
enablePluginFancy = false; # nécessite wekitgtk qui est troué
|
|
enablePluginPdf = true;
|
|
enablePluginRavatar = true;
|
|
enablePluginSmime = true;
|
|
enablePluginVcalendar = true;
|
|
enableSpellcheck = true;
|
|
};
|
|
mumble = pkgs.mumble.override { pulseSupport = true; };
|
|
};
|
|
*/
|
|
|
|
#nixpkgs.config.permittedInsecurePackages = [
|
|
# "webkitgtk-2.4.11" # pour que le plugin fancy de claws-mail fonctionne
|
|
#];
|
|
}
|