Enable NTP using the BSC time server
This commit is contained in:
		
							parent
							
								
									9be15fdad2
								
							
						
					
					
						commit
						d20fa359d9
					
				| @ -6,6 +6,7 @@ | |||||||
|     ./fs.nix |     ./fs.nix | ||||||
|     ./hw.nix |     ./hw.nix | ||||||
|     ./net.nix |     ./net.nix | ||||||
|  |     ./ntp.nix | ||||||
|     ./slurm.nix |     ./slurm.nix | ||||||
|     ./ssh.nix |     ./ssh.nix | ||||||
|     ./users.nix |     ./users.nix | ||||||
|  | |||||||
							
								
								
									
										9
									
								
								m/common/ntp.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								m/common/ntp.nix
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,9 @@ | |||||||
|  | { pkgs, ... }: | ||||||
|  | 
 | ||||||
|  | { | ||||||
|  |   services.ntp.enable = true; | ||||||
|  | 
 | ||||||
|  |   # Use the NTP server at BSC, as we don't have direct access | ||||||
|  |   # to the outside world | ||||||
|  |   networking.timeServers = [ "84.88.52.36" ]; | ||||||
|  | } | ||||||
		Reference in New Issue
	
	Block a user