treewide: set timezone in flake.nix
This commit is contained in:
parent
28c29867a8
commit
cfb574cb7b
3 changed files with 9 additions and 4 deletions
10
flake.nix
10
flake.nix
|
@ -178,7 +178,10 @@
|
||||||
# Hardware
|
# Hardware
|
||||||
./nixos/hardware/lenovo/legion/81fw/Aristotle
|
./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
|
./darwin/hardware/apple/imac/18-3
|
||||||
|
|
||||||
{networking.hostName = "Plato";}
|
{
|
||||||
|
networking.hostName = "Plato";
|
||||||
|
time.timeZone = "Asia/Shanghai";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
myFlake.darwin.networking.dns.provider = lib.mkDefault "alidns";
|
myFlake.darwin.networking.dns.provider = lib.mkDefault "alidns";
|
||||||
time.timeZone = lib.mkDefault "Asia/Shanghai";
|
|
||||||
|
|
||||||
### Flakes
|
### Flakes
|
||||||
imports = [
|
imports = [
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
myFlake.nixos.networking.dns.provider = lib.mkDefault "alidns";
|
myFlake.nixos.networking.dns.provider = lib.mkDefault "alidns";
|
||||||
time.timeZone = lib.mkDefault "Asia/Shanghai";
|
|
||||||
|
|
||||||
### Flakes
|
### Flakes
|
||||||
imports = [
|
imports = [
|
||||||
|
|
Loading…
Reference in a new issue