diff --git a/hosts/default.nix b/hosts/default.nix index 655c1d4f..6c62b6a4 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -41,8 +41,9 @@ in }; }; darwinConfigurations = { - yuanw = self.nixos-flake.lib.mkMacosSystem "x86_64-darwin" { - imports = [ + yuanw = darwinSystem { + system = "x86_64-darwin"; + modules = [ inputs.self.nixosModules.common inputs.self.nixosModules.darwin ./yuan-mac.nix diff --git a/hosts/yuan-mac.nix b/hosts/yuan-mac.nix index 762b20b6..0ea33055 100644 --- a/hosts/yuan-mac.nix +++ b/hosts/yuan-mac.nix @@ -1,4 +1,9 @@ { pkgs, config, ... }: { + imports = [ + inputs.self.nixosModules.common + inputs.self.nixosModules.darwin + ]; + home-manager.users.${config.my.username}.programs.git = { extraConfig = { github.user = "yuanw"; }; }; @@ -13,7 +18,7 @@ }; modules = { - common = { enable = true; }; + # common = { enable = true; }; browsers.firefox = { enable = true;