darwin: (blind) cleanup

This commit is contained in:
Guanran Wang 2024-07-25 22:34:13 +08:00
parent f35d8a45c8
commit b5b2bd9a7d
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF
7 changed files with 2 additions and 42 deletions

View file

@ -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

View file

@ -1,9 +0,0 @@
{
networking.dns = [
### AliDNS
"223.5.5.5"
"223.6.6.6"
"2400:3200::1"
"2400:3200:baba::1"
];
}

View file

@ -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";
} }

View file

@ -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";
}

View file

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

View file

@ -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";
} }

View file

@ -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";
}