modules: add time module
All checks were successful
/ check (push) Successful in 32s

This commit is contained in:
notohh 2023-10-19 18:04:30 -04:00
parent f392a75243
commit 9fcb66eaf0
Signed by: notohh
GPG key ID: BD47506D475EE86D
3 changed files with 25 additions and 0 deletions

View file

@ -15,5 +15,6 @@ name | description
`sops` | configures sops-nix
`swayidle` | idle manager daemon
`system` | commonly shared system settings
`time` | force sets the time on all systems
`users` | defines all hosts users & groups
`virtualisation`| basic docker configuration

View file

@ -10,5 +10,6 @@
./openssh.nix
./virtualisation.nix
./sops.nix
./time.nix
];
}

23
modules/time.nix Normal file
View file

@ -0,0 +1,23 @@
_: {
services.chrony = {
enable = true;
servers = [
# 0.us.pool.ntp.org
"134.215.114.62"
"192.189.65.187"
"96.245.170.99"
"192.92.6.30"
];
};
services.timesyncd = {
enable = true;
servers = [
# 0.us.pool.ntp.org
"134.215.114.62"
"192.189.65.187"
"96.245.170.99"
"192.92.6.30"
];
};
}