mirror of
				https://github.com/Stunkymonkey/nixos.git
				synced 2025-10-31 17:52:10 +01:00 
			
		
		
		
	profile/sync: init from legacy
This commit is contained in:
		
							parent
							
								
									09ffed6661
								
							
						
					
					
						commit
						3c3fc6f527
					
				
					 5 changed files with 21 additions and 11 deletions
				
			
		
							
								
								
									
										19
									
								
								profiles/sync/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								profiles/sync/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,19 @@ | |||
| { config, lib, pkgs, ... }: | ||||
| let | ||||
|   cfg = config.my.profiles.sync; | ||||
| in | ||||
| { | ||||
|   options.my.profiles.sync = with lib; { | ||||
|     enable = mkEnableOption "sync profile"; | ||||
|   }; | ||||
| 
 | ||||
|   config = lib.mkIf cfg.enable { | ||||
|     environment.systemPackages = with pkgs; [ | ||||
|       croc | ||||
|       magic-wormhole | ||||
|       nextcloud-client | ||||
|       syncthing | ||||
|       vdirsyncer | ||||
|     ]; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Felix Buehler
						Felix Buehler