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 @@
|
|||
{ config, lib, ... }:
|
||||
{ config, lib, fn, ... }:
|
||||
|
||||
with builtins;
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.machine;
|
||||
fn = import (toString ../fn.nix) { inherit lib; };
|
||||
metapkgs = let
|
||||
pPath = (toString ../pkgsets);
|
||||
in (lists.forEach (fn.lsfRec pPath true) (v: replaceStrings [ "${pPath}/" "/" ".nix" ] [ "" "::" "" ] v));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue