feat(ada): ntps-rs init

Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
s0me1newithhand7s 2026-05-29 00:08:08 +03:00
parent d03a563188
commit 58c5ffdb54
3 changed files with 33 additions and 5 deletions

View file

@ -1,9 +1,5 @@
_: {
networking = {
timeServers = [
"time.cloudflare.com"
"time.google.com"
"ru.pool.ntp.org"
];
timeServers = [];
};
}

25
ada/services/ntpd-rs.nix Normal file
View file

@ -0,0 +1,25 @@
_: {
services = {
ntpd-rs = {
enable = true;
useNetworkingTimeServers = false;
settings = {
source = [
{
mode = "nts";
address = "time.cloudflare.com";
}
{
mode = "nts";
address = "nts.netnod.se";
}
{
mode = "nts";
address = "ptbtime1.ptb.de";
}
];
};
};
};
}

View file

@ -0,0 +1,7 @@
_: {
services = {
timesyncd = {
enable = false;
};
};
}