diff options
author | sils <sils@sils.li> | 2023-02-22 19:02:16 +0100 |
---|---|---|
committer | sils <sils@sils.li> | 2023-02-22 19:42:16 +0100 |
commit | 3944a9730690f6ebd4d4eaf520dcd94291a880c3 (patch) | |
tree | 166719653688a4350ca01ed9fa6fb062263653e2 | |
parent | Structure: Switch back to gnome. (diff) | |
download | nix-config-3944a9730690f6ebd4d4eaf520dcd94291a880c3.tar.gz nix-config-3944a9730690f6ebd4d4eaf520dcd94291a880c3.zip |
Packages: Add geogebra
Diffstat (limited to '')
-rw-r--r-- | flake.nix | 2 | ||||
-rw-r--r-- | flatpak.nix | 8 | ||||
-rw-r--r-- | packages.nix | 7 |
3 files changed, 11 insertions, 6 deletions
diff --git a/flake.nix b/flake.nix index a41d092..37f9431 100644 --- a/flake.nix +++ b/flake.nix @@ -8,7 +8,7 @@ self, nixpkgs, ... - } @ attrs : { + } @ attrs: { nixosConfigurations.thinklappi = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = attrs; diff --git a/flatpak.nix b/flatpak.nix index 4469567..138a692 100644 --- a/flatpak.nix +++ b/flatpak.nix @@ -8,8 +8,8 @@ device = "/srv/flatpak"; options = ["bind"]; }; -# xdg.portal = { -# enable = true; -# extraPortals = [pkgs.xdg-desktop-portal-gtk]; -# }; + # xdg.portal = { + # enable = true; + # extraPortals = [pkgs.xdg-desktop-portal-gtk]; + # }; } diff --git a/packages.nix b/packages.nix index 1994395..71b250e 100644 --- a/packages.nix +++ b/packages.nix @@ -1,6 +1,7 @@ { config, pkgs, + lib, ... }: { environment.systemPackages = with pkgs; [ @@ -71,7 +72,7 @@ texlive.combined.scheme-full # LaTeX gparted # partitioning :( musescore # notesetting program - + geogebra # math program # Compiler gcc execline @@ -80,4 +81,8 @@ texlab # latex language server html-tidy # html formatter ]; + nixpkgs.config.allowUnfreePredicate = pkg: + builtins.elem (lib.getName pkg) [ + "geogebra" + ]; } |