hosts: add whitesteel
This commit is contained in:
parent
3fdcc0fe45
commit
ca7cd9dffb
5 changed files with 31 additions and 1 deletions
|
@ -2,6 +2,6 @@
|
|||
imports = [
|
||||
./flake.nix
|
||||
./nix.nix
|
||||
./gc.nix
|
||||
#./gc.nix # wtf is single user mode
|
||||
];
|
||||
}
|
||||
|
|
|
@ -136,6 +136,7 @@
|
|||
### Darwin
|
||||
darwinConfigurations = {
|
||||
"plato" = mkDarwin "x86_64-darwin" [./hosts/plato];
|
||||
"whitesteel" = mkDarwin "x86_64-darwin" [./hosts/whitesteel];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
5
hosts/whitesteel/README.md
Normal file
5
hosts/whitesteel/README.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# About this device
|
||||
|
||||
### Description
|
||||
|
||||
`blacksteel`, but running macOS. Creative, I know.
|
12
hosts/whitesteel/default.nix
Normal file
12
hosts/whitesteel/default.nix
Normal 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;
|
||||
}
|
12
hosts/whitesteel/hardware-configuration.nix
Normal file
12
hosts/whitesteel/hardware-configuration.nix
Normal 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";
|
||||
}
|
Loading…
Reference in a new issue