ajout option de configuration pour stocker les mails en boite

This commit is contained in:
Yves Dubromelle
2016-08-11 23:08:33 +02:00
parent 744ebec05b
commit b65ffa4d8f
2 changed files with 21 additions and 2 deletions

View File

@@ -63,12 +63,30 @@ in {
];
};
users.extraUsers.lothy = mkIf (profiles.isDubronetwork && profiles.isDesktop) {
users.extraUsers.lothy = mkIf ( (cfg.mailboxes && profiles.isDubronetwork)
|| (profiles.isDesktop && profiles.isDubronetwork)
) {
description = "Ophélie Dubromelle-Lacroix";
isNormalUser = true;
extraGroups = [
"audio"
];
hashedPassword = "$6$vcZSVwQFcGg1xt$xuMiCmlozhgyFFGEw3rRnIrhVcglMlWY1lfJG17QoKE4KzrQfc9YAaJYgf.clc3ouFC/yLtEs18Q0DVGixTEt0";
};
}
users.extraUsers.alain = mkIf (cfg.mailboxes && profiles.isDubronetwork) {
description = "Alain Dubromelle";
isNormalUser = true;
hashedPassword = "$6$wGd7Inli$p4Q8BrkUSNCKfqloHtehFKKHQqVKVxul/oHWBY2BdqlFNt7N9MXuvVJZ2BOD747vQvAc2f07N8I8kD0n7x/o61";
};
users.extraUsers.michele = mkIf (cfg.mailboxes && profiles.isDubronetwork) {
description = "Michele Dubromelle";
isNormalUser = true;
hashedPassword = "$6$RuwEVVml$JnSb62qFrtBJY1CfC9uE0YK2qd2TpnNmlXNeQ62ludb3mkV8AMUVEj3R9jTKtOfLt/ap6jGVmakotGtHczBHL/";
};
users.extraUsers.dubromelle = mkIf (cfg.mailboxes && profiles.isDubronetwork) {
description = "Alain & Véro Dubromelle";
isNormalUser = true;
hashedPassword = "$6$Aa7rTIL7$M8zhtVsjPhkbNsY571K6bb04Y6cS04Z8RYKTIF3HoslelXplkphckauNep9gnc9mAp0p7o2lnQEVSoPw2UwT7/";
};
}