hosts: add whitesteel

This commit is contained in:
Guanran Wang 2024-02-26 13:18:01 +08:00
parent 3fdcc0fe45
commit ca7cd9dffb
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
5 changed files with 31 additions and 1 deletions

View file

@ -2,6 +2,6 @@
imports = [
./flake.nix
./nix.nix
./gc.nix
#./gc.nix # wtf is single user mode
];
}

View file

@ -136,6 +136,7 @@
### Darwin
darwinConfigurations = {
"plato" = mkDarwin "x86_64-darwin" [./hosts/plato];
"whitesteel" = mkDarwin "x86_64-darwin" [./hosts/whitesteel];
};
};
}

View file

@ -0,0 +1,5 @@
# About this device
### Description
`blacksteel`, but running macOS. Creative, I know.

View file

@ -0,0 +1,12 @@
{...}: {
imports = [
../../darwin/profiles/desktop
../../darwin/profiles/common/opt-in/clash-meta-client.nix
./hardware-configuration.nix
];
networking.hostName = "whitesteel";
time.timeZone = "Asia/Shanghai";
system.stateVersion = 4;
}

View file

@ -0,0 +1,12 @@
{
networking.knownNetworkServices = [
"Ethernet"
"Wi-Fi"
"Thunderbolt Bridge"
"Thunderbolt Bridge 2"
"iPhone USB"
];
# The platform the configuration will be used on.
nixpkgs.hostPlatform = "x86_64-darwin";
}