1

Add electron exception for obsidian 1.5.3

This commit is contained in:
2024-01-18 20:01:47 +01:00
parent 2057d7a678
commit 61d0f2dc6c

View File

@ -66,6 +66,9 @@
config.allowUnfree = true; config.allowUnfree = true;
# NOTE: Obsidian 1.5.3 depends on an unsupported Electron version. As long as Obsidian isn't updated, allow this version.
config.permittedInsecurePackages = pkgs.lib.optional (pkgs.obsidian.version == "1.5.3") "electron-25.9.0";
# NOTE: Probably shouldn't enable CUDA globally, but in the environment flakes where it is needed? # NOTE: Probably shouldn't enable CUDA globally, but in the environment flakes where it is needed?
# Would it even work here? Since the flake imports its own nixpkgs... # Would it even work here? Since the flake imports its own nixpkgs...
# config.cudaSupport = true; # config.cudaSupport = true;