Add an ntp module

This commit is contained in:
Andreas Zweili 2022-05-05 22:26:05 +02:00
parent 5bf55f525d
commit 8dd5c1ad45
2 changed files with 10 additions and 0 deletions

9
modules/ntp/default.nix Normal file
View File

@ -0,0 +1,9 @@
{ ... }:
{
services.ntp = {
enable = true;
server = [
"loki.2li.local"
];
};
}

View File

@ -10,6 +10,7 @@
time = "11:30"; inherit config custom inputs pkgs;
})
"${inputs.self}/modules/docker"
"${inputs.self}/modules/ntp"
"${inputs.self}/modules/raspi-haproxy"
];
}