diff --git a/flake.nix b/flake.nix index 370d94f..a9246ee 100644 --- a/flake.nix +++ b/flake.nix @@ -1,11 +1,8 @@ { description = "nix begat oizys"; + outputs = inputs @ {self, ...}: - (import ./lib { - inherit inputs; - inherit self; - }) - .oizysFlake {}; + (import ./lib {inherit self inputs;}).oizysFlake; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; diff --git a/lib/default.nix b/lib/default.nix index 9d37bd3..5d50376 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -49,7 +49,7 @@ in rec { } ); - oizysFlake = _: { + oizysFlake = { nixosModules = nixosModules; nixosConfigurations = oizysHosts; packages = oizysPkg;