diff --git a/m/common/main.nix b/m/common/main.nix index e43ce4f..7054495 100644 --- a/m/common/main.nix +++ b/m/common/main.nix @@ -6,6 +6,7 @@ ./fs.nix ./hw.nix ./net.nix + ./ntp.nix ./slurm.nix ./ssh.nix ./users.nix diff --git a/m/common/ntp.nix b/m/common/ntp.nix new file mode 100644 index 0000000..d4ddb25 --- /dev/null +++ b/m/common/ntp.nix @@ -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" ]; +}