From 922c6e75ca06a9dc6e92a1699b18c72b9b3e567b Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Wed, 8 Mar 2023 17:45:49 +0000 Subject: [PATCH] flake: use 'flake-parts' --- flake/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/flake/default.nix b/flake/default.nix index 1e0ef12..ff2832a 100644 --- a/flake/default.nix +++ b/flake/default.nix @@ -1,4 +1,5 @@ { self +, flake-parts , futils , home-manager , nixpkgs @@ -77,4 +78,8 @@ let nixosConfigurations = import ./nixos.nix inputs; }; in -(eachMySystem systemDependant) // systemIndependant +flake-parts.lib.mkFlake { inherit inputs; } { + systems = mySystems; + + flake = (eachMySystem systemDependant) // systemIndependant; +}