darwin: (blind) cleanup
This commit is contained in:
parent
f35d8a45c8
commit
b5b2bd9a7d
7 changed files with 2 additions and 42 deletions
|
@ -11,7 +11,6 @@
|
||||||
imports = [
|
imports = [
|
||||||
./nix
|
./nix
|
||||||
./anti-features.nix
|
./anti-features.nix
|
||||||
./networking.nix
|
|
||||||
|
|
||||||
inputs.self.darwinModules.default
|
inputs.self.darwinModules.default
|
||||||
inputs.home-manager.darwinModules.home-manager
|
inputs.home-manager.darwinModules.home-manager
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
{
|
|
||||||
networking.dns = [
|
|
||||||
### AliDNS
|
|
||||||
"223.5.5.5"
|
|
||||||
"223.6.6.6"
|
|
||||||
"2400:3200::1"
|
|
||||||
"2400:3200:baba::1"
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -3,11 +3,10 @@
|
||||||
imports = [
|
imports = [
|
||||||
../../darwin/profiles/desktop
|
../../darwin/profiles/desktop
|
||||||
../../darwin/profiles/common/opt-in/mihomo.nix
|
../../darwin/profiles/common/opt-in/mihomo.nix
|
||||||
|
|
||||||
./hardware-configuration.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "plato";
|
networking.hostName = "plato";
|
||||||
time.timeZone = "Asia/Shanghai";
|
time.timeZone = "Asia/Shanghai";
|
||||||
system.stateVersion = 4;
|
system.stateVersion = 4;
|
||||||
|
nixpkgs.hostPlatform = "x86_64-darwin";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
# iMac 18,3 (2017)
|
|
||||||
{
|
|
||||||
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";
|
|
||||||
}
|
|
|
@ -1,5 +0,0 @@
|
||||||
# About this device
|
|
||||||
|
|
||||||
### Description
|
|
||||||
|
|
||||||
`blacksteel`, but running macOS. Creative, I know.
|
|
|
@ -2,11 +2,10 @@
|
||||||
imports = [
|
imports = [
|
||||||
../../darwin/profiles/desktop
|
../../darwin/profiles/desktop
|
||||||
../../darwin/profiles/common/opt-in/mihomo.nix
|
../../darwin/profiles/common/opt-in/mihomo.nix
|
||||||
|
|
||||||
./hardware-configuration.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "whitesteel";
|
networking.hostName = "whitesteel";
|
||||||
time.timeZone = "Asia/Shanghai";
|
time.timeZone = "Asia/Shanghai";
|
||||||
system.stateVersion = 4;
|
system.stateVersion = 4;
|
||||||
|
nixpkgs.hostPlatform = "x86_64-darwin";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
{
|
|
||||||
networking.knownNetworkServices = [
|
|
||||||
"Wi-Fi"
|
|
||||||
"Bluetooth PAN"
|
|
||||||
"Thunderbolt Bridge"
|
|
||||||
];
|
|
||||||
|
|
||||||
# The platform the configuration will be used on.
|
|
||||||
nixpkgs.hostPlatform = "x86_64-darwin";
|
|
||||||
}
|
|
Loading…
Reference in a new issue