about summary refs log tree commit diff stats
path: root/nix-conf
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-06-28 16:58:19 +0100
committerDavid Morgan <djm_uk@protonmail.com>2024-06-28 16:58:19 +0100
commit13019892bc0f77f5a5e866a950d34b82ef996d1a (patch)
treeb05a3f0c587f853fd562c415ea257705df8df8f5 /nix-conf
parent351db762b3f1c24588f02f8e9e084166a4ba021b (diff)
downloaddotfiles-13019892bc0f77f5a5e866a950d34b82ef996d1a.tar.gz
Add aspell-dict-en-science to allowUnfreePredicate
Diffstat (limited to 'nix-conf')
-rw-r--r--nix-conf/home/includes/common.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/nix-conf/home/includes/common.nix b/nix-conf/home/includes/common.nix
index f43168a..7026292 100644
--- a/nix-conf/home/includes/common.nix
+++ b/nix-conf/home/includes/common.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, ... }:
+{ config, lib, pkgs, ... }:
 let
   hcr = pkgs.callPackage ./scripts/hm-changes-report.nix { inherit config pkgs; };
   scr = pkgs.callPackage ./scripts/system-changes-report.nix { inherit config pkgs; };
@@ -9,6 +9,10 @@ in
     ./zsh.nix
   ];
 
+  nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
+    "aspell-dict-en-science"
+  ];
+
   home.packages = with pkgs; [
     hcr
     scr