aboutsummaryrefslogtreecommitdiffstats
path: root/modules/by-name
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-05-12 00:34:18 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-05-12 00:34:18 +0200
commit2f2ea36e87e050d1b4f93173577615fd320e4423 (patch)
treee89da5ee62ba10ec1e3f9893b4e47d5b72ccab8a /modules/by-name
parentmodules/qutebrowser: Avoid pointless `pkgs.hello` dependency (diff)
downloadnixos-config-2f2ea36e87e050d1b4f93173577615fd320e4423.zip
modules/nixpkgs: Allow unfree `cmp-calc`
As the comment says, this nvim plugin is effectively free, but they didn't add a license (and it's unmaintained). As such the 'lib.licenses.unfree' makes sense, but allowing it is also ethically okay.
Diffstat (limited to '')
-rw-r--r--modules/by-name/ni/nixpkgs/module.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/by-name/ni/nixpkgs/module.nix b/modules/by-name/ni/nixpkgs/module.nix
index 502bcff2..84d8e074 100644
--- a/modules/by-name/ni/nixpkgs/module.nix
+++ b/modules/by-name/ni/nixpkgs/module.nix
@@ -36,14 +36,13 @@ in {
];
config = {
- # TODO: this fails because of the root tempsize, which should be increased
- # contentAddressedByDefault = true;
-
hostSystem = cfg.systemName;
allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
- "pypemicro" # required by pynitrokey
+ # the plugin is lacking an license and is thus unfree, effectively
+ # its okay though (TODO: investigate <2026-05-11>)?
+ "cmp-calc"
];
};
};