feat: add env var for electron compat
This commit is contained in:
parent
cc9b0954be
commit
11af9dc4fb
2 changed files with 8 additions and 5 deletions
|
@ -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";
|
||||
|
||||
}
|
||||
|
|
|
@ -60,6 +60,7 @@ let
|
|||
];
|
||||
|
||||
XCURSOR_SIZE = "24";
|
||||
NIXOS_OZONE_WL = "1";
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue