diff --git a/pkgs/pkgsets.nix b/pkgs/pkgsets.nix index 5d595db..98f4607 100644 --- a/pkgs/pkgsets.nix +++ b/pkgs/pkgsets.nix @@ -6,7 +6,7 @@ with lib; let - optPkgs = package: pkgstring: if elem pkgstring config.machine.pkgs then package else []; + optPkgs = package: pkgstring: optionals (elem pkgstring config.machine.pkgs) package; gitpkgs = import /nixpkgs/default.nix {}; # Programms I'm likely to want on every machine and/or may execute as root