aboutsummaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/arrakis/default.nix1
-rw-r--r--hosts/common/optional/services/chrony.nix8
-rw-r--r--hosts/darkstar/default.nix1
-rw-r--r--hosts/darkstar/services.nix2
4 files changed, 10 insertions, 2 deletions
diff --git a/hosts/arrakis/default.nix b/hosts/arrakis/default.nix
index 26017fb..313cdc0 100644
--- a/hosts/arrakis/default.nix
+++ b/hosts/arrakis/default.nix
@@ -27,6 +27,7 @@
../common/optional/multimedia.nix
../common/optional/pipewire.nix
../common/optional/sdr.nix
+ ../common/optional/services/chrony.nix
../common/optional/services/openssh.nix
../common/optional/services/xorg.nix
../common/optional/sound.nix
diff --git a/hosts/common/optional/services/chrony.nix b/hosts/common/optional/services/chrony.nix
new file mode 100644
index 0000000..2687846
--- /dev/null
+++ b/hosts/common/optional/services/chrony.nix
@@ -0,0 +1,8 @@
+{
+ services.chrony = {
+ enable = true;
+ extraConfig = ''
+ server time.cloudflare.com iburst nts
+ '';
+ };
+}
diff --git a/hosts/darkstar/default.nix b/hosts/darkstar/default.nix
index b867e2e..c397328 100644
--- a/hosts/darkstar/default.nix
+++ b/hosts/darkstar/default.nix
@@ -31,6 +31,7 @@
./services.nix
../common/core
../common/optional/services/asterisk.nix
+ ../common/optional/services/chrony.nix
../common/optional/services/kea.nix
../common/optional/services/nsd.nix
../common/optional/services/openssh.nix
diff --git a/hosts/darkstar/services.nix b/hosts/darkstar/services.nix
index 67bfc1b..e385bca 100644
--- a/hosts/darkstar/services.nix
+++ b/hosts/darkstar/services.nix
@@ -14,12 +14,10 @@
};
services.chrony = {
- enable = true;
extraConfig = ''
local stratum 3
binddevice enp116s0
allow 192.168.1/24
- server time.cloudflare.com iburst nts
'';
};