2023-09-11 20:23:04 +02:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
fn,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
2024-11-20 20:32:38 +01:00
|
|
|
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;
|
|
|
|
};
|
2024-11-20 20:32:38 +01:00
|
|
|
in
|
|
|
|
{
|
2019-10-23 03:44:17 +02:00
|
|
|
imports = pkgsets;
|
|
|
|
|
2024-11-20 20:32:38 +01:00
|
|
|
environment.systemPackages = flatten (
|
|
|
|
lists.forEach (attrVals (filter (v: !(strings.hasInfix "::" v)) cfg.pkgs) cfg.pkgsets) (
|
|
|
|
v: v.pkgwrap
|
|
|
|
)
|
|
|
|
);
|
2019-10-11 20:51:46 +02:00
|
|
|
}
|