diff --git a/darwin/hardware/apple/imac/18-3/default.nix b/darwin/hosts/Plato/default.nix similarity index 92% rename from darwin/hardware/apple/imac/18-3/default.nix rename to darwin/hosts/Plato/default.nix index d952e6f..f08a03b 100644 --- a/darwin/hardware/apple/imac/18-3/default.nix +++ b/darwin/hosts/Plato/default.nix @@ -1,3 +1,4 @@ +# iMac 18,3 (2017) _: { networking.knownNetworkServices = [ "Ethernet" diff --git a/flake.nix b/flake.nix index 11945b1..a92f51a 100755 --- a/flake.nix +++ b/flake.nix @@ -163,7 +163,7 @@ }; mkDarwin = system: modules: - inputs.nixpkgs.lib.nixosSystem { + inputs.nix-darwin.lib.darwinSystem { inherit system modules; specialArgs = {inherit inputs;}; }; @@ -214,7 +214,7 @@ ./users/guanranwang/darwin/profiles/device-type/desktop ./users/guanranwang/darwin/profiles/opt-in/clash-meta-client.nix - ./darwin/hardware/apple/imac/18-3 + ./darwin/hosts/Plato { networking.hostName = "Plato";