@ -15,15 +15,21 @@ mkIf cfg.hydra-builder {
# Services
# Services
## Services de virtualisation utilisé pour les tests hydra
virtualisation . docker . enable = true ;
virtualisation . libvirtd . enable = true ;
#virtualisation.virtualbox.guest.enable = true;
virtualisation . virtualbox . host . enable = true ;
virtualisation . virtualbox . host . enable = true ;
virtualisation . virtualbox . host . headless = true ;
## Ménage automatique tous les jours
nix . gc . automatic = true ;
nix . gc . automatic = true ;
users . users . " h y d r a b l d " = {
users . users . " h y d r a b l d " = {
description = " E x e c u t i o n d e s j o b s h y d r a " ;
description = " E x e c u t i o n d e s j o b s h y d r a " ;
group = " n i x b l d " ;
group = " n i x b l d " ;
extraGroups = [ " n i x b l d " ] ;
extraGroups = [ " n i x b l d " ] ;
isNormalUser = true ;
isNormalUser = true ; # devrait être à false: TODO débugger la conf ssh & users pour que ça marche en user système
openssh . authorizedKeys . keys = [
openssh . authorizedKeys . keys = [
" s s h - e d 2 5 5 1 9 A A A A C 3 N z a C 1 l Z D I 1 N T E 5 A A A A I G Y p j c W J C f 8 d X p v 2 L m o I a N V b w Z X E C 5 0 Q U U 6 A z + l q e D 8 9 h y d r a r a d x "
" s s h - e d 2 5 5 1 9 A A A A C 3 N z a C 1 l Z D I 1 N T E 5 A A A A I G Y p j c W J C f 8 d X p v 2 L m o I a N V b w Z X E C 5 0 Q U U 6 A z + l q e D 8 9 h y d r a r a d x "