Auto import files instead of maintaining file list.

This commit is contained in:
Kevin Baensch 2020-03-29 09:10:14 +02:00
parent 081d10bc21
commit c543303ab9
Signed by: derped
GPG key ID: C0F1D326C7626543
15 changed files with 12 additions and 99 deletions

View file

@ -5,7 +5,7 @@ with lib;
let
cfg = config.machine;
fn = import (toString ../fn.nix) { inherit lib; };
pkgsets = map (v: (toString ../.) + "/pkgsets/${v}") (fn.lsf (toString ../pkgsets));
pkgsets = fn.lst { p = (toString ../pkgsets); b = true;};
in {
imports = pkgsets;