From d283804a02fd11bfabb81ea031e42c3a14f890f6 Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Mon, 25 Jan 2021 15:24:10 +1000 Subject: [PATCH] Add chrony to keep time synchronised --- roles/chrony.nix | 11 +++++++++++ roles/host_common.nix | 1 + 2 files changed, 12 insertions(+) create mode 100644 roles/chrony.nix diff --git a/roles/chrony.nix b/roles/chrony.nix new file mode 100644 index 0000000..596b47d --- /dev/null +++ b/roles/chrony.nix @@ -0,0 +1,11 @@ +# NixOps configuration for the hosts running a Chrony service + +{ config, ... }: + +{ + + services.chrony = { + enable = true; # Enable Chrony + }; + +} diff --git a/roles/host_common.nix b/roles/host_common.nix index f4f0dfc..4c37b0a 100644 --- a/roles/host_common.nix +++ b/roles/host_common.nix @@ -5,6 +5,7 @@ { imports = [ + ./chrony.nix ./tmux.nix ];