fix(droid): fix eval of pkgs and nvim module
All checks were successful
Discord / discord commits (push) Has been skipped

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

View file

@ -39,7 +39,12 @@
home-manager.config = { home-manager.config = {
imports = [ imports = [
self.homeManagerModules.neovim self.homeManagerModules.neovim
{programs.neovim.enable = true;} {
programs.neovim = {
enable = true;
user = "nix-on-droid";
};
}
self.homeManagerModules.shell self.homeManagerModules.shell
{programs.bash.enable = true;} {programs.bash.enable = true;}

View file

@ -29,7 +29,11 @@ inputs: rec {
] ]
++ (cfg.config.permittedInsecurePackages or []); ++ (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 # Enable use of `nixpkgs.overlays` on both NixOS and NixOnDroid