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
|
@ -1,5 +1,5 @@
|
|||
{ piholeFlake, lingerFlake, util }: { config, pkgs, lib, ... }: with lib; with builtins; let
|
||||
inherit (util) collectAttrFragments accessValueOfFragment toEnvValue;
|
||||
{ piholeFlake, lingerFlake }: { config, pkgs, lib, ... }: with lib; with builtins; let
|
||||
inherit (import ../lib/util.nix) collectAttrFragments accessValueOfFragment toEnvValue;
|
||||
|
||||
cfg = config.services.pihole;
|
||||
hostUserCfg = config.users.users.${cfg.hostConfig.user};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue