forked from fabian/nix
		
	re-add syncthing
This commit is contained in:
		
							parent
							
								
									191df3545f
								
							
						
					
					
						commit
						1b10d48137
					
				
					 3 changed files with 22 additions and 0 deletions
				
			
		|  | @ -15,5 +15,6 @@ | ||||||
|     ./defaultDesktopPack.nix |     ./defaultDesktopPack.nix | ||||||
|     ./mapping.nix |     ./mapping.nix | ||||||
|     ./zed.nix |     ./zed.nix | ||||||
|  |     ./syncthing.nix | ||||||
|   ]; |   ]; | ||||||
| } | } | ||||||
|  |  | ||||||
							
								
								
									
										20
									
								
								home/modules/syncthing.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								home/modules/syncthing.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,20 @@ | ||||||
|  | { | ||||||
|  |   config, | ||||||
|  |   lib, | ||||||
|  |   pkgs, | ||||||
|  |   ... | ||||||
|  | }: | ||||||
|  | with lib; let | ||||||
|  |   cfg = config.local.services.syncthing; | ||||||
|  | in { | ||||||
|  |   options.local.services.syncthing = { | ||||||
|  |     enable = mkEnableOption "syncthing settings"; | ||||||
|  |   }; | ||||||
|  | 
 | ||||||
|  |   config = mkIf cfg.enable { | ||||||
|  |     services.syncthing = { | ||||||
|  |       enable = true; | ||||||
|  |       tray.enable = true; | ||||||
|  |     }; | ||||||
|  |   }; | ||||||
|  | } | ||||||
|  | @ -39,6 +39,7 @@ | ||||||
|       firefox.enable = true; |       firefox.enable = true; | ||||||
|       mapping.enable = true; |       mapping.enable = true; | ||||||
|       zed.enable = true; |       zed.enable = true; | ||||||
|  |       syncthing.enable = true; | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|     gui = { |     gui = { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue