initial commit
This commit is contained in:
commit
ebc1be5217
143 changed files with 7721 additions and 0 deletions
45
modules/features/system/ntp-chrony.nix
Normal file
45
modules/features/system/ntp-chrony.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{ ... }:
|
||||
{
|
||||
config.dendritic.features.ntp-chrony = {
|
||||
nixosModules = [
|
||||
(
|
||||
{ ... }:
|
||||
{
|
||||
services.chrony = {
|
||||
enable = true;
|
||||
enableNTS = true;
|
||||
servers = [
|
||||
"time.cloudflare.com iburst nts"
|
||||
"ntppool1.time.nl iburst nts"
|
||||
"nts.netnod.se iburst nts"
|
||||
"ptbtime1.ptb.de iburst nts"
|
||||
"time.dfm.dk iburst nts"
|
||||
"time.cifelli.xyz iburst nts"
|
||||
];
|
||||
# havent worked out the kinks yet
|
||||
# extraConfig = ''
|
||||
# minsources 3
|
||||
# authselectmode require
|
||||
|
||||
# # EF
|
||||
# dscp 46
|
||||
|
||||
# driftfile /var/lib/chrony/drift
|
||||
# dumpdir /var/lib/chrony
|
||||
# ntsdumpdir /var/lib/chrony
|
||||
|
||||
# leapseclist /usr/share/zoneinfo/leap-seconds.list
|
||||
# makestep 1.0 3
|
||||
|
||||
# rtconutc
|
||||
|
||||
# cmdport 0
|
||||
|
||||
# noclientlog
|
||||
# '';
|
||||
};
|
||||
}
|
||||
)
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue