darwin: keep up with nixos

This commit is contained in:
Guanran Wang 2023-12-18 14:11:31 +08:00
parent 491f0fe175
commit c1d6f23674
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View file

@ -1,3 +1,4 @@
# iMac 18,3 (2017)
_: { _: {
networking.knownNetworkServices = [ networking.knownNetworkServices = [
"Ethernet" "Ethernet"

View file

@ -163,7 +163,7 @@
}; };
mkDarwin = system: modules: mkDarwin = system: modules:
inputs.nixpkgs.lib.nixosSystem { inputs.nix-darwin.lib.darwinSystem {
inherit system modules; inherit system modules;
specialArgs = {inherit inputs;}; specialArgs = {inherit inputs;};
}; };
@ -214,7 +214,7 @@
./users/guanranwang/darwin/profiles/device-type/desktop ./users/guanranwang/darwin/profiles/device-type/desktop
./users/guanranwang/darwin/profiles/opt-in/clash-meta-client.nix ./users/guanranwang/darwin/profiles/opt-in/clash-meta-client.nix
./darwin/hardware/apple/imac/18-3 ./darwin/hosts/Plato
{ {
networking.hostName = "Plato"; networking.hostName = "Plato";