diff options
Diffstat (limited to 'hostnix/elmo/configuration.nix')
| -rw-r--r-- | hostnix/elmo/configuration.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/hostnix/elmo/configuration.nix b/hostnix/elmo/configuration.nix index 4516c1e..dec1dfa 100644 --- a/hostnix/elmo/configuration.nix +++ b/hostnix/elmo/configuration.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, lib, pkgs, ... }: { imports = [ @@ -42,7 +42,10 @@ ]; }; - nixpkgs.config.allowUnfree = true; + # TODO make into a module + nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ + "unrar" # from nzbget + ]; environment.systemPackages = with pkgs; [ dig |
