diff --git a/nix-darwin/default.nix b/nix-darwin/default.nix index a1804e8..3e69e29 100644 --- a/nix-darwin/default.nix +++ b/nix-darwin/default.nix @@ -3,7 +3,6 @@ # Configuration common to all macOS systems flake = { darwinModules = { - common = self.nixosModules.common; myself = { home-manager.users.${config.people.myself} = { pkgs, ... }: { imports = [ @@ -14,9 +13,9 @@ }; }; default.imports = [ - self.darwinModules.common self.darwinModules.home-manager self.darwinModules.myself + ../nixos/caches ]; }; lib-darwin.mkMacosSystem = extraModules: inputs.darwin.lib.darwinSystem rec { diff --git a/nixos/default.nix b/nixos/default.nix index db2474a..ba197ba 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -3,10 +3,6 @@ # Configuration common to all Linux systems flake = { nixosModules = { - # These imports are platform independent. - common.imports = [ - ./caches - ]; other-people = { # Temporarily sharing with Uday. users.users.uday.isNormalUser = true; @@ -27,9 +23,9 @@ }; }; default.imports = [ - self.nixosModules.common self.nixosModules.home-manager self.nixosModules.myself + ./caches ./self-ide.nix ./takemessh ./current-location.nix