summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--flake.nix2
-rw-r--r--flatpak.nix8
-rw-r--r--packages.nix7
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"
+    ];
 }