From 0a0fb77cc09c0a4d4e00fc8391e2b692bad3c655 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Mon, 8 Jul 2024 17:07:15 -0700 Subject: [PATCH] make lib wrapper a single arg function --- flake.nix | 2 +- lib/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index c3b66de..12fa7d2 100644 --- a/flake.nix +++ b/flake.nix @@ -32,7 +32,7 @@ { nixosConfigurations = let - lib = import ./lib { inherit (nixpkgs) lib; }; + lib = import ./lib nixpkgs.lib; toPartialNixosConfig = { hostname, system }: diff --git a/lib/default.nix b/lib/default.nix index ae27ddc..0cfa6c6 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -1,4 +1,4 @@ -{ lib, ... }: +lib: with lib; rec { # Ternary operator