Enable NTP using the BSC time server
This commit is contained in:
parent
2d4b178895
commit
7c1fe1455b
@ -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" ];
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user