Skip to content

Commit d441134

Browse files
committed
timesyncd -> ntpd-rs
1 parent 4d59f03 commit d441134

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

modules/nixos/core.nix

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ in
3636
useDHCP = false;
3737
useNetworkd = true;
3838
wireguard.enable = true;
39+
timeServers = [
40+
"time.cloudflare.com"
41+
"time1.mbix.ca"
42+
"time.web-clock.ca"
43+
];
3944
};
4045

4146
security = {
@@ -59,6 +64,13 @@ in
5964
systembus-notify.enable = true;
6065
};
6166
};
67+
timesyncd.enable = false;
68+
ntpd-rs = {
69+
enable = true;
70+
settings = {
71+
observability.log-level = "warn";
72+
};
73+
};
6274
tailscale = {
6375
enable = true;
6476
openFirewall = true;

0 commit comments

Comments
 (0)