treewide: set timezone in flake.nix

This commit is contained in:
Guanran Wang 2023-11-27 20:31:17 +08:00
parent 28c29867a8
commit cfb574cb7b
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
3 changed files with 9 additions and 4 deletions

View file

@ -178,7 +178,10 @@
# Hardware
./nixos/hardware/lenovo/legion/81fw/Aristotle
{networking.hostName = "Aristotle";}
{
networking.hostName = "Aristotle";
time.timeZone = "Asia/Shanghai";
}
];
};
};
@ -198,7 +201,10 @@
./darwin/hardware/apple/imac/18-3
{networking.hostName = "Plato";}
{
networking.hostName = "Plato";
time.timeZone = "Asia/Shanghai";
}
];
};
};

View file

@ -16,7 +16,7 @@
### Options
myFlake.darwin.networking.dns.provider = lib.mkDefault "alidns";
time.timeZone = lib.mkDefault "Asia/Shanghai";
### Flakes
imports = [

View file

@ -25,7 +25,6 @@
### Options
myFlake.nixos.networking.dns.provider = lib.mkDefault "alidns";
time.timeZone = lib.mkDefault "Asia/Shanghai";
### Flakes
imports = [