2023-09-11 20:23:04 +02:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
fn,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib; let
|
2019-10-11 20:51:46 +02:00
|
|
|
cfg = config.machine;
|
2023-09-11 20:23:04 +02:00
|
|
|
pkgsets = fn.lst {
|
|
|
|
p = toString ../pkgsets;
|
|
|
|
b = true;
|
|
|
|
};
|
2019-10-11 20:51:46 +02:00
|
|
|
in {
|
2019-10-23 03:44:17 +02:00
|
|
|
imports = pkgsets;
|
|
|
|
|
2023-09-11 20:23:04 +02:00
|
|
|
environment.systemPackages =
|
|
|
|
flatten
|
2019-11-17 23:13:50 +01:00
|
|
|
(lists.forEach
|
|
|
|
(attrVals
|
|
|
|
(filter
|
2023-09-11 20:23:04 +02:00
|
|
|
(v: !(strings.hasInfix "::" v))
|
|
|
|
cfg.pkgs)
|
2019-11-17 23:13:50 +01:00
|
|
|
cfg.pkgsets)
|
|
|
|
(v: v.pkgwrap));
|
2019-10-11 20:51:46 +02:00
|
|
|
}
|