From a3fb72745419720d1d94794d3bccbe20a0a8c038 Mon Sep 17 00:00:00 2001 From: caem Date: Sat, 25 Jan 2025 14:43:02 +0100 Subject: [PATCH] remove obsolete modules lib --- lib/default.nix | 3 +-- lib/modules.nix | 10 ---------- 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 lib/modules.nix diff --git a/lib/default.nix b/lib/default.nix index 09f7569..89a0986 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -3,7 +3,6 @@ let fs = import ./fs.nix { inherit lib; }; hosts = import ./hosts.nix { inherit lib; }; - modules = import ./modules.nix { inherit lib; }; in - fs // hosts // modules + fs // hosts diff --git a/lib/modules.nix b/lib/modules.nix deleted file mode 100644 index f40cbdf..0000000 --- a/lib/modules.nix +++ /dev/null @@ -1,10 +0,0 @@ -{ lib }: - -rec { - makeOverridable = - f: origArgs: - let - origRes = f origArgs; - in - origRes // { override = newArgs: makeOverridable f (origArgs // newArgs); }; -}