From 61d0f2dc6c44c63120b455d1b19188f572636650 Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Thu, 18 Jan 2024 20:01:47 +0100 Subject: [PATCH] Add electron exception for obsidian 1.5.3 --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index 0ed8dea7..9b267ef0 100644 --- a/flake.nix +++ b/flake.nix @@ -65,6 +65,9 @@ inherit system; 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? # Would it even work here? Since the flake imports its own nixpkgs...