flake/modules/lib: import lib in modules directly instead of passing it from the flake
This commit is contained in:
parent
428baed6cf
commit
f734aea139
2 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue