SV-268149r1131099_rule
V-268149
SRG-OS-000355-GPOS-00143
ANIX-00-001420
CAT II
10
Configure NixOS to use approved timeservers.
Add the following Nix code to the NixOS Configuration, usually located in /etc/nixos/configuration.nix or /etc/nixos/flake.nix:
networking.timeServers = [
"tick.usnogps.navy.mil"
"tock.usnogps.navy.mil"
];
Rebuild and switch to the new NixOS configuration:
$ sudo nixos-rebuild switch
Verify NixOS is configured with an approved time server with the following command:
$ timedatectl show-timesync | grep NTPServers
SystemNTPServers=tick.usnogps.navy.mil
FallbackNTPServers=tock.usnogps.navy.mil
If the output of the command does not list authorized time servers, this is a finding.
V-268149
False
ANIX-00-001420
Verify NixOS is configured with an approved time server with the following command:
$ timedatectl show-timesync | grep NTPServers
SystemNTPServers=tick.usnogps.navy.mil
FallbackNTPServers=tock.usnogps.navy.mil
If the output of the command does not list authorized time servers, this is a finding.
M
5658