fix(droid): fix eval of pkgs and nvim module

This commit is contained in:
matt1432 2024-12-22 04:35:19 -05:00
parent b34b174c68
commit 75444803cd
2 changed files with 11 additions and 2 deletions
lib/flake

View file

@ -29,7 +29,11 @@ inputs: rec {
]
++ (cfg.config.permittedInsecurePackages or []);
}
// (cfg.config or {});
// (builtins.removeAttrs (
if cfg.config or null == null
then {}
else cfg.config
) ["permittedInsecurePackages"]);
};
# Enable use of `nixpkgs.overlays` on both NixOS and NixOnDroid