modules: add time module
All checks were successful
/ check (push) Successful in 32s
All checks were successful
/ check (push) Successful in 32s
This commit is contained in:
parent
f392a75243
commit
9fcb66eaf0
3 changed files with 25 additions and 0 deletions
|
@ -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
|
|
@ -10,5 +10,6 @@
|
|||
./openssh.nix
|
||||
./virtualisation.nix
|
||||
./sops.nix
|
||||
./time.nix
|
||||
];
|
||||
}
|
||||
|
|
23
modules/time.nix
Normal file
23
modules/time.nix
Normal 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"
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue