From 5e114ce2e057aacbf54bbc249eb72d55801025fb Mon Sep 17 00:00:00 2001 From: chayleaf <chayleaf-git@pavluk.org> Date: Fri, 31 Jan 2025 18:25:53 +0700 Subject: [PATCH] ereader: fix home config? --- home/modules/gui.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/home/modules/gui.nix b/home/modules/gui.nix index d106ee5..79525c1 100644 --- a/home/modules/gui.nix +++ b/home/modules/gui.nix @@ -280,9 +280,11 @@ config = lib.mkMerge [ }; }; - nixpkgs.config.permittedInsecurePackages = [ - "olm-3.2.16" - ]; + nixpkgs = lib.mkIf (!config.minimal) { + config.permittedInsecurePackages = [ + "olm-3.2.16" + ]; + }; # some packages require a pointer theme home.pointerCursor.gtk.enable = true;