ooknet/nixos/modules/base/nix/nixpkgs.nix

26 lines
464 B
Nix

{
lib,
config,
inputs,
...
}: let
inherit (lib) mkIf;
inherit (config.ooknet) host;
in {
config = mkIf (host.type != "phone") {
nixpkgs = {
config = {
allowUnfree = true;
permittedInsecurePackages = [
"openssl-1.1.1u"
"electron-25.9.0"
];
};
overlays = [
(_final: prev: {
zjstatus = inputs.zjstatus.packages.${prev.system}.default;
})
];
};
};
}