summaryrefslogtreecommitdiffstats
path: root/makefu
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-09-04 20:17:56 +0200
committertv <tv@krebsco.de>2019-09-04 20:28:01 +0200
commit856ee03a203722722fb646c62c36e4b6aabadaee (patch)
tree50c4757cb928c784ec4c4b3719ee920219cd7e50 /makefu
parent38bf02df0aedd219d70be49c363ccac4da2d09ca (diff)
treewide: use packageName
Diffstat (limited to 'makefu')
-rw-r--r--makefu/2configs/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/makefu/2configs/default.nix b/makefu/2configs/default.nix
index 177114a49..5faf3ce93 100644
--- a/makefu/2configs/default.nix
+++ b/makefu/2configs/default.nix
@@ -31,7 +31,8 @@ with import <stockholm/lib>;
boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
- nixpkgs.config.allowUnfreePredicate = (pkg: pkgs.lib.hasPrefix "unrar-" pkg.name);
+ nixpkgs.config.allowUnfreePredicate = pkg: packageName pkg == "unrar";
+
krebs = {
enable = true;