|
|
@ -17,6 +17,7 @@ in
|
|
|
|
./activation-manuelle/fail2ban.nix
|
|
|
|
./activation-manuelle/fail2ban.nix
|
|
|
|
./activation-manuelle/nix-serve-client.nix
|
|
|
|
./activation-manuelle/nix-serve-client.nix
|
|
|
|
./activation-manuelle/nix-serve-server.nix
|
|
|
|
./activation-manuelle/nix-serve-server.nix
|
|
|
|
|
|
|
|
./activation-manuelle/print.nix
|
|
|
|
./activation-manuelle/swap.nix
|
|
|
|
./activation-manuelle/swap.nix
|
|
|
|
./activation-manuelle/users.nix
|
|
|
|
./activation-manuelle/users.nix
|
|
|
|
];
|
|
|
|
];
|
|
|
@ -49,6 +50,7 @@ in
|
|
|
|
locate = mkEnableOption "Profil pour activer la fonction locate.";
|
|
|
|
locate = mkEnableOption "Profil pour activer la fonction locate.";
|
|
|
|
nix-serve-client= mkEnableOption "Profil pour que la machine soit un client de cache nix.";
|
|
|
|
nix-serve-client= mkEnableOption "Profil pour que la machine soit un client de cache nix.";
|
|
|
|
nix-serve-server= mkEnableOption "Profil pour que la machine soit un serveur de cache nix.";
|
|
|
|
nix-serve-server= mkEnableOption "Profil pour que la machine soit un serveur de cache nix.";
|
|
|
|
|
|
|
|
print = mkEnableOption "Profil pour activer cups & pouvoir imprimer.";
|
|
|
|
swap = mkEnableOption "Profil pour que le swap soit activé.";
|
|
|
|
swap = mkEnableOption "Profil pour que le swap soit activé.";
|
|
|
|
virtualbox = mkEnableOption "Profil pour l'utilisation de VirtualBox.";
|
|
|
|
virtualbox = mkEnableOption "Profil pour l'utilisation de VirtualBox.";
|
|
|
|
xmonad = mkEnableOption "Profil pour activer le gestionnaire de fenêtres xmonad.";
|
|
|
|
xmonad = mkEnableOption "Profil pour activer le gestionnaire de fenêtres xmonad.";
|
|
|
@ -106,6 +108,7 @@ in
|
|
|
|
(mkIf pfl.isDubronetwork {
|
|
|
|
(mkIf pfl.isDubronetwork {
|
|
|
|
r6d.config-generator.auto-upgrade = true;
|
|
|
|
r6d.config-generator.auto-upgrade = true;
|
|
|
|
r6d.config-generator.nix-serve-client = true;
|
|
|
|
r6d.config-generator.nix-serve-client = true;
|
|
|
|
|
|
|
|
r6d.config-generator.print = true;
|
|
|
|
})
|
|
|
|
})
|
|
|
|
(mkIf (pfl.isDubronetwork && pfl.isHome) {
|
|
|
|
(mkIf (pfl.isDubronetwork && pfl.isHome) {
|
|
|
|
r6d.config-generator.jeux = true;
|
|
|
|
r6d.config-generator.jeux = true;
|
|
|
|