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;