init: public

This commit is contained in:
2025-04-13 15:09:14 +08:00
parent 5995c2050b
commit 50247d94e8
253 changed files with 12964 additions and 567 deletions

16
modules/time.nix Normal file
View File

@@ -0,0 +1,16 @@
{ config, lib, ... }:
lib.my.makeSwitch {
inherit config;
default = true;
optionName = "default time settings";
optionPath = [ "time" ];
config' = {
time.timeZone = "Asia/Shanghai";
networking.timeServers = [
"0.cn.pool.ntp.org"
"1.cn.pool.ntp.org"
"2.cn.pool.ntp.org"
"3.cn.pool.ntp.org"
];
};
}