From 37f210c96f83c47f0596b564e8ce1d403e7b9231 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Thu, 26 Sep 2024 15:57:23 +0200 Subject: [PATCH] security: add libolm to permittedInsecurePackages --- modules/core/nix.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/core/nix.nix b/modules/core/nix.nix index ece11ae6..8640ec72 100644 --- a/modules/core/nix.nix +++ b/modules/core/nix.nix @@ -6,7 +6,10 @@ ... }: { - nixpkgs.config = lib.mkDefault { allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ ]; }; + nixpkgs.config = lib.mkDefault { + allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ ]; + permittedInsecurePackages = [ "olm-3.2.16" ]; + }; nix = { # Use default version alias for nix package