|  |  | @ -1,5 +1,12 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | { config, pkgs, ... }: |  |  |  | { config, pkgs, ... }: | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | let | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   cfg = config.r6d.config-generator; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   computers = config.r6d.computers; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   profiles = config.r6d.profiles; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   mkIf = pkgs.lib.mkIf; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | in | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | { |  |  |  | { | 
			
		
	
		
		
			
				
					
					|  |  |  |   imports = [                   # applications : |  |  |  |   imports = [                   # applications : | 
			
		
	
		
		
			
				
					
					|  |  |  |     # commandées par config-generator |  |  |  |     # commandées par config-generator | 
			
		
	
	
		
		
			
				
					|  |  | @ -21,7 +28,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |     ./app-securite.nix          # relatives à la sécurité (chiffrement, gpg, mots de passe, ...) |  |  |  |     ./app-securite.nix          # relatives à la sécurité (chiffrement, gpg, mots de passe, ...) | 
			
		
	
		
		
			
				
					
					|  |  |  |   ]; |  |  |  |   ]; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   environment.systemPackages = with pkgs; [ |  |  |  |   environment.systemPackages = with pkgs; mkIf profiles.isDesktop [ | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     # Environement de bureau |  |  |  |     # Environement de bureau | 
			
		
	
		
		
			
				
					
					|  |  |  |     wmname        # pour définir le nom du gestionnaire de fenêtre (utile pour java) |  |  |  |     wmname        # pour définir le nom du gestionnaire de fenêtre (utile pour java) | 
			
		
	
		
		
			
				
					
					|  |  |  |     kde4.ksnapshot# capture d'écran |  |  |  |     kde4.ksnapshot# capture d'écran | 
			
		
	
	
		
		
			
				
					|  |  | @ -55,7 +62,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |   }; |  |  |  |   }; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   # Enable the X11 windowing system. |  |  |  |   # Enable the X11 windowing system. | 
			
		
	
		
		
			
				
					
					|  |  |  |   services.xserver = { |  |  |  |   services.xserver = mkIf profiles.isDesktop { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     enable = true; |  |  |  |     enable = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |     layout = "fr"; |  |  |  |     layout = "fr"; | 
			
		
	
		
		
			
				
					
					|  |  |  |     xkbOptions = "eurosign:e"; |  |  |  |     xkbOptions = "eurosign:e"; | 
			
		
	
	
		
		
			
				
					|  |  | @ -89,7 +96,8 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |     '']; |  |  |  |     '']; | 
			
		
	
		
		
			
				
					
					|  |  |  |   }; |  |  |  |   }; | 
			
		
	
		
		
			
				
					
					|  |  |  |    |  |  |  |    | 
			
		
	
		
		
			
				
					
					|  |  |  |   hardware.pulseaudio = { |  |  |  |   # Pulse Audio | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   hardware.pulseaudio = mkIf profiles.isDesktop { | 
			
		
	
		
		
			
				
					
					|  |  |  |     enable = true; |  |  |  |     enable = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |     support32Bit = true; |  |  |  |     support32Bit = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |   }; |  |  |  |   }; | 
			
		
	
	
		
		
			
				
					|  |  | 
 |