machines: change hostname
This commit is contained in:
parent
6c0036ee4e
commit
d3ef9003d7
1 changed files with 4 additions and 4 deletions
|
@ -183,7 +183,7 @@
|
||||||
|
|
||||||
### NixOS
|
### NixOS
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
"81FW-NixOS" = nixpkgs.lib.nixosSystem {
|
"Aristotle" = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = {inherit inputs;};
|
specialArgs = {inherit inputs;};
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -206,7 +206,7 @@
|
||||||
./machines/nixos/81fw-lenovo-legion-y7000/machine-1
|
./machines/nixos/81fw-lenovo-legion-y7000/machine-1
|
||||||
|
|
||||||
{
|
{
|
||||||
networking.hostName = "81FW-NixOS"; # Hostname
|
networking.hostName = "Aristotle"; # Hostname
|
||||||
time.timeZone = "Asia/Shanghai"; # Timezone
|
time.timeZone = "Asia/Shanghai"; # Timezone
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
@ -219,7 +219,7 @@
|
||||||
|
|
||||||
### nix-darwin
|
### nix-darwin
|
||||||
darwinConfigurations = {
|
darwinConfigurations = {
|
||||||
"iMac-macOS" = nix-darwin.lib.darwinSystem {
|
"Plato" = nix-darwin.lib.darwinSystem {
|
||||||
system = "x86_64-darwin";
|
system = "x86_64-darwin";
|
||||||
specialArgs = {inherit inputs;};
|
specialArgs = {inherit inputs;};
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -229,7 +229,7 @@
|
||||||
./machines/darwin/imac-2017
|
./machines/darwin/imac-2017
|
||||||
|
|
||||||
{
|
{
|
||||||
networking.hostName = "iMac-macOS";
|
networking.hostName = "Plato";
|
||||||
time.timeZone = "Asia/Shanghai";
|
time.timeZone = "Asia/Shanghai";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue