Format
This commit is contained in:
parent
c47db92a88
commit
09bc19268d
29 changed files with 151 additions and 210 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue