From f373cc323b9b6a5fc04b03df38cb82e2bde4b652 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Thu, 21 Mar 2024 11:06:07 -0500 Subject: [PATCH] no functor necessary --- flake.nix | 7 ++----- lib/default.nix | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) 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;