From fc1fddd8f5ad8347e88201ad01977cf36dfd9c5d Mon Sep 17 00:00:00 2001 From: TudbuT Date: Wed, 6 Nov 2024 11:06:04 +0100 Subject: [PATCH] pkgs.user: fix geogebra --- configuration.nix | 1 - home.nix | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index 1309dea..a935353 100644 --- a/configuration.nix +++ b/configuration.nix @@ -14,7 +14,6 @@ in ./home.nix ]; - upkgs.config.allowUnfree = true; # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with upkgs; [ diff --git a/home.nix b/home.nix index e05a74a..cec2529 100644 --- a/home.nix +++ b/home.nix @@ -48,7 +48,6 @@ in dogdns scc typst - geogebra #marker.pkgs.end# (import ./traewelling.script.nix) (import ./plans.script.nix) @@ -60,12 +59,16 @@ in olm mkchromecast feh + geogebra ]); nixpkgs.config.permittedInsecurePackages = [ "olm-3.2.16" "python3.12-youtube-dl-2021.12.17" ]; + nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ + "geogebra" + ]; home-manager.backupFileExtension = ".hm-old"; home-manager.users.tudbut = {