feat: add env var for electron compat

This commit is contained in:
notohh 2023-03-06 05:36:50 -05:00
parent cc9b0954be
commit 11af9dc4fb
Signed by: notohh
GPG key ID: BD47506D475EE86D
2 changed files with 8 additions and 5 deletions

View file

@ -189,9 +189,10 @@
options = "--delete-older-than 7d";
};
settings = {
builders-use-substitutes = true;
substituters = [
"https://hyprland.cachix.org"
"https://cache.nixos.org?priority=10"
"https://cache.nixos.org"
];
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
@ -205,12 +206,13 @@
channel = "https://nixos.org/channel/nixos-unstable";
};
nixpkgs.config.permittedInsecurePackages = [
nixpkgs.config = {
permittedInsecurePackages = [
"qtwebkit-5.212.0-alpha4"
"electron-12.2.3"
];
nixpkgs.config.allowUnfree = true;
allowUnfree = true;
};
system.stateVersion = "23.05";
}

View file

@ -60,6 +60,7 @@ let
];
XCURSOR_SIZE = "24";
NIXOS_OZONE_WL = "1";
};