flake/modules/lib: import lib in modules directly instead of passing it from the flake

This commit is contained in:
Christopher Bacher 2022-10-29 13:39:02 +02:00
parent 428baed6cf
commit f734aea139
2 changed files with 2 additions and 4 deletions

View file

@ -11,7 +11,6 @@
outputs = { self, nixpkgs, flake-utils, linger }: with flake-utils.lib; eachSystem (with system; [ x86_64-linux aarch64-linux ]) (curSystem:
let
util = import ./lib/util.nix;
pkgs = nixpkgs.legacyPackages.${curSystem};
imageName = "pihole/pihole";
@ -39,7 +38,6 @@
nixosModules.default = (import ./modules/pihole-container.factory.nix) {
piholeFlake = self;
lingerFlake = linger;
inherit util;
};
devShells.default = let