25 lines
454 B
Nix
25 lines
454 B
Nix
{ lib, config, inputs, ... }:
|
|
|
|
let
|
|
inherit (lib) mkIf;
|
|
host = 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;
|
|
})
|
|
];
|
|
};
|
|
};
|
|
}
|