You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			38 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Nix
		
	
			
		
		
	
	
			38 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Nix
		
	
| { config, lib, pkgs, ... }:
 | |
| 
 | |
| let
 | |
|   inherit (lib) mkIf mkMerge mkThenElse;
 | |
|   annuaire = config.r6d.machines;
 | |
|   currentMachine = annuaire."${config.networking.hostName}";
 | |
|   flags = currentMachine.configurationFlags;
 | |
| in
 | |
| 
 | |
| mkIf (flags.officeSuite && flags.graphical) {
 | |
| 
 | |
|   # Paquets
 | |
|   environment.systemPackages = with pkgs; [
 | |
|     # Bureautique
 | |
|     gnumeric      # tableur
 | |
|     #kde4.ksnapshot# réalisation de capture d'écran
 | |
| 
 | |
|     ## Cartes mentales
 | |
|     freemind
 | |
| 
 | |
|     ## Diagrammes & Schémas
 | |
|     dia           # dessin & schéma technique
 | |
| 
 | |
|     ## Editeur de texte
 | |
|     #lyx          # surcouche WISIWIM à LaTeX
 | |
|     #focuswriter  # outil pour l'écriture
 | |
|     #textadept     # un éditeur de texte facile pour copier-coller graphique
 | |
|     #zim          # outil de prise de notes, wiki de bureau
 | |
| 
 | |
|     ## Visionneuse
 | |
|     #kde5.okular   # pdf
 | |
|     #mcomix        # livres (cbr, liste d'images), gestion d'une bibliothèque # Supprimé dans NixOS 20.03
 | |
|     pdfpc         # pdf
 | |
|     qpdfview      # pdf
 | |
|     gqview        # visionneuse image & gestion basique de collection
 | |
|   ];
 | |
| }
 |