This commit is contained in:
Sicheng Pan 2026-02-16 22:00:15 -08:00
parent c47db92a88
commit 09bc19268d
Signed by: macronova
GPG key ID: CE969670FB4B4A56
29 changed files with 151 additions and 210 deletions

View file

@ -1,5 +1,6 @@
{
config,
lib,
pkgs,
...
}:
@ -212,7 +213,7 @@ in {
};
i18n = {
defaultLocale = "zh_CN.UTF-8";
defaultLocale = locale;
supportedLocales = ["all"];
};
@ -239,7 +240,7 @@ in {
};
};
resolved.enable = true;
syncthing = {
syncthing = lib.mkIf config.services.syncthing.enable {
configDir = "${homeDir}/.config/syncthing";
dataDir = "${homeDir}/.local/share/syncthing";
openDefaultPorts = true;
@ -252,12 +253,12 @@ in {
sops.secrets.${usrPwdFile}.neededForUsers = true;
time.timeZone = "America/Los_Angeles";
time.timeZone = timeZone;
users = {
mutableUsers = false;
users.${userName} = {
description = "Sicheng Pan";
description = fullName;
extraGroups = [
"audio"
"dialout"