From fca5a69277f633e2759904c3046635ef541fc341 Mon Sep 17 00:00:00 2001 From: Soispha Peetz Date: Fri, 27 Nov 2026 01:35:27 +0100 Subject: nix/module{,.hm}.nix: Don't import the modules Having them just as paths, means that the modules can be de-duplicated and as such multiple times imported. The downside is that we can no longer setup a nice default for the package. --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 3d91f683..c7a87dbd 100644 --- a/flake.nix +++ b/flake.nix @@ -39,8 +39,8 @@ }; }; - nixosModule = import ./nix/module.nix {extraPackages = {inherit turtle;};}; - hmModule = import ./nix/module.hm.nix {turtlePkg = turtle;}; + nixosModule = ./nix/module.nix; + hmModule = ./nix/module.hm.nix; in { packages."${system}" = { inherit turtle; -- cgit v1.3.1