regroupement conf laptop + service laptop
							parent
							
								
									b64a846407
								
							
						
					
					
						commit
						4100ff2f2f
					
				| @ -1,25 +0,0 @@ | ||||
| { config, lib, pkgs, ... }: | ||||
| 
 | ||||
| let | ||||
|   inherit (lib) mkIf; | ||||
|   cfg = config.r6d.config-generator; | ||||
|   computers = config.r6d.computers; | ||||
|   profiles = config.r6d.profiles; | ||||
| 
 | ||||
| in mkIf cfg.laptop { | ||||
|   # Paquets spécifiques pour un ordinateur portable | ||||
| 
 | ||||
|   ## Activation d'un gestionnaire de réseau | ||||
|   networking.networkmanager.enable = true; | ||||
| 
 | ||||
|   hardware.bluetooth.enable = true; | ||||
| 
 | ||||
|   environment.systemPackages = with pkgs; [ | ||||
|     networkmanagerapplet | ||||
|   ]; | ||||
| 
 | ||||
|   services.xserver.synaptics = { | ||||
|     enable = true; | ||||
|     twoFingerScroll = true; | ||||
|   }; | ||||
| } | ||||
| @ -0,0 +1,18 @@ | ||||
| { config, lib, pkgs, ... }: | ||||
| 
 | ||||
| let | ||||
|   inherit (lib) mkIf; | ||||
|   cfg = config.r6d.config-generator; | ||||
|   computers = config.r6d.computers; | ||||
|   profiles = config.r6d.profiles; | ||||
| in | ||||
| 
 | ||||
| mkIf cfg.laptop { | ||||
| 
 | ||||
|   # Gestion spécifique pour PC portable | ||||
| 
 | ||||
|   services.xserver.synaptics = { | ||||
|     enable = true; | ||||
|     twoFingerScroll = true; | ||||
|   }; | ||||
| } | ||||
					Loading…
					
					
				
		Reference in New Issue