From 423afd8af50b3333cfad7e495b94ff913b1bb034 Mon Sep 17 00:00:00 2001 From: yuanwang Date: Tue, 1 Aug 2023 13:28:11 -0600 Subject: [PATCH] fmt --- hosts/default.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/hosts/default.nix b/hosts/default.nix index 0eca6a7f..92b7ef89 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -1,7 +1,7 @@ { self, inputs, system, ... }: { flake = { - nixosConfigurations = { + nixosConfigurations = { aws = inputs.nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ @@ -30,9 +30,12 @@ }; }; darwinConfigurations = { - yuanw = self.nixos-flake.lib.mkMacosSystem { - system = "x86_64-darwin"; - modules = [ ../hosts/yuan-mac.nix ]; + yuanw = self.nixos-flake.lib.mkMacosSystem "x86_64-darwin" { + imports = [ + inputs.self.nixosModules.common + inputs.self.nixosModules.darwin + ./yuan-mac.nix + ]; }; WK01174 = self.nixos-flake.lib.mkMacosSystem "aarch64-darwin" { imports = [ @@ -45,7 +48,7 @@ imports = [ inputs.self.nixosModules.common inputs.self.nixosModules.darwin - ./hosts/wf17084.nix + ./wf17084.nix ]; }; };