mirror of
				https://github.com/Stunkymonkey/nixos.git
				synced 2025-10-30 17:32:09 +01:00 
			
		
		
		
	extra/dyndns: init
This commit is contained in:
		
							parent
							
								
									6699866b20
								
							
						
					
					
						commit
						133b8a71eb
					
				
					 3 changed files with 16 additions and 2 deletions
				
			
		
							
								
								
									
										14
									
								
								extra/dyndns.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								extra/dyndns.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,14 @@ | |||
| { config, lib, pkgs, ... }: | ||||
| let | ||||
|   cfg = import ../vars-dyndns.nix; | ||||
| in | ||||
| { | ||||
|   services.ddclient = { | ||||
|     enable = true; | ||||
|     server = cfg.dyndns.server; | ||||
|     username = cfg.dyndns.username; | ||||
|     passwordFile = "/root/.dyndns_password"; | ||||
|     domains = cfg.dyndns.domains; | ||||
|     ipv6 = true; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Felix Buehler
						Felix Buehler