From 62683b24acc01aad5785569f18219eca9764df90 Mon Sep 17 00:00:00 2001 From: David Arnold Date: Sun, 13 Jun 2021 23:30:05 -0500 Subject: [PATCH] ref: pass our lib as lib.our to the module system At least we don't find ourselves with strange module signatures and use something that looks like a dedicated namespace within he module system: `config.lib` --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 359aa31a..e870ac13 100644 --- a/flake.nix +++ b/flake.nix @@ -71,7 +71,7 @@ channelName = "nixos"; modules = ./modules/module-list.nix; externalModules = [ - { _module.args.ourLib = self.lib; } + { lib.our = self.lib; } ci-agent.nixosModules.agent-profile home.nixosModules.home-manager agenix.nixosModules.age