Move fn functions to system specialArgs.
This commit is contained in:
parent
b73ea3b5de
commit
b2da82bff1
9 changed files with 12 additions and 24 deletions
|
@ -1,11 +1,10 @@
|
|||
# This Configuration is meant for local DNS setups only!
|
||||
{ options, config, lib, pkgs, ... }:
|
||||
{ options, config, lib, fn, pkgs, ... }:
|
||||
|
||||
with builtins;
|
||||
with lib;
|
||||
|
||||
let
|
||||
fn = import (../. + (toPath "/fn.nix")) { inherit lib; };
|
||||
cfg = config.machine;
|
||||
in mkIf (elem "bind" cfg.services) {
|
||||
services.bind = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue