Skip to content

Commit 36abe16

Browse files
Merge pull request #332 from NuschtOS/chrony
chrony: do not open ports all the time
2 parents 6bdf2c5 + 0596a10 commit 36abe16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/chrony.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ in
4040
];
4141
};
4242

43-
services.chrony = {
43+
services.chrony = lib.mkIf cfg.configureServer {
4444
openFirewall = true;
45-
extraConfig = lib.mkIf cfg.configureServer ''
45+
extraConfig = ''
4646
allow
4747
'';
4848
};

0 commit comments

Comments
 (0)