Add chrony to keep time synchronised

This commit is contained in:
Craige McWhirter 2021-01-25 15:24:10 +10:00
parent 56c5affc2e
commit d283804a02
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA
2 changed files with 12 additions and 0 deletions

11
roles/chrony.nix Normal file
View file

@ -0,0 +1,11 @@
# NixOps configuration for the hosts running a Chrony service
{ config, ... }:
{
services.chrony = {
enable = true; # Enable Chrony
};
}

View file

@ -5,6 +5,7 @@
{
imports = [
./chrony.nix
./tmux.nix
];