diff --git a/flake.lock b/flake.lock index 2cf51be..556ad28 100644 --- a/flake.lock +++ b/flake.lock @@ -1193,11 +1193,11 @@ "pre-commit-hooks": "pre-commit-hooks_3" }, "locked": { - "lastModified": 1715634843, - "narHash": "sha256-YrECYhEXY7g8Ji5luq8mdRaLRGiwTPCSDEeVP91DyDY=", + "lastModified": 1720814919, + "narHash": "sha256-g1HYi6C+URiou9MoFOPTZUYTPHISgF2g8KbhcqLiJyM=", "owner": "oddlama", "repo": "nix-topology", - "rev": "9ed5c7b5c5cd5bed9e204e8b9d69f4be1954abd3", + "rev": "e7c64ea75a7dbdf984c0ac25fb44af88244ff5a4", "type": "github" }, "original": { diff --git a/topology/flake-module.nix b/topology/flake-module.nix index 58cd2c5..b9bebf2 100644 --- a/topology/flake-module.nix +++ b/topology/flake-module.nix @@ -1,30 +1,7 @@ {inputs, ...}: { imports = [ - ( - { - lib, - flake-parts-lib, - ... - }: - flake-parts-lib.mkTransposedPerSystemModule { - name = "topology"; - file = ./flake-module.nix; - option = lib.mkOption { - type = lib.types.unspecified; - }; - } - ) + inputs.nix-topology.flakeModule ]; - perSystem = {pkgs, ...}: { - topology = import inputs.nix-topology { - inherit pkgs; - modules = [ - ./topology - { - inherit (inputs.self) nixosConfigurations; - } - ]; - }; - }; + perSystem.topology.modules = [./.]; }