diff --git a/flake-modules/packages.nix b/flake-modules/packages.nix index 04b394c2b..4e41bb01f 100644 --- a/flake-modules/packages.nix +++ b/flake-modules/packages.nix @@ -8,6 +8,10 @@ ... }: { + imports = [ + # ../packages/default.nix + ]; + # packages = import ../docs { # inherit system; # inherit (inputs) nixpkgs; diff --git a/flake.nix b/flake.nix index a9e02e9a0..cd7f3780b 100644 --- a/flake.nix +++ b/flake.nix @@ -4,7 +4,11 @@ outputs = inputs@{ flake-parts, self, ... }: flake-parts.lib.mkFlake { inherit inputs; } { - imports = [ ./flake-modules ]; + imports = [ + ./flake-modules + # inputs.flake-parts.flakeModules.flakeModules + # inputs.flake-parts.flakeModules.modules + ]; systems = [ "x86_64-linux" @@ -18,23 +22,20 @@ # ]; # }; # - homes.modules = with inputs; [ - anyrun.homeManagerModules.default - catppuccin.homeManagerModules.catppuccin - hypr-socket-watch.homeManagerModules.default - nix-index-database.hmModules.nix-index - nur.hmModules.nur - sops-nix.homeManagerModules.sops - ]; - - systems = { - modules = { - darwin = with inputs; [ sops-nix.darwinModules.sops ]; - nixos = with inputs; [ - lanzaboote.nixosModules.lanzaboote - sops-nix.nixosModules.sops - ]; - }; + modules = { + darwin = with inputs; [ sops-nix.darwinModules.sops ]; + homes = with inputs; [ + anyrun.homeManagerModules.default + catppuccin.homeManagerModules.catppuccin + hypr-socket-watch.homeManagerModules.default + nix-index-database.hmModules.nix-index + nur.hmModules.nur + sops-nix.homeManagerModules.sops + ]; + nixos = with inputs; [ + lanzaboote.nixosModules.lanzaboote + sops-nix.nixosModules.sops + ]; }; deploy = {