about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-04-12 17:29:19 +0200
committeraszlig <aszlig@nix.build>2018-04-12 17:29:19 +0200
commit9f95561925d1353b718ad9f7623aa09e245e607b (patch)
tree2071195dcc22bd6181e0853f62fc58428acc6296 /modules
parent73611120dd35affb0f7d69aaca0dfcb5cea14003 (diff)
profiles/managed: Add RAR support for Ark
Unfortunately people still tend to use RAR archives for whatever reason.
The unfreeAndNonDistributablePkgs is a bit wrong here though, because
Ark and unrar *are* actually redistributable. This needs to be fixed in
nixpkgs though.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'modules')
-rw-r--r--modules/user/aszlig/profiles/managed.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/user/aszlig/profiles/managed.nix b/modules/user/aszlig/profiles/managed.nix
index 6f175b93..e1dee99f 100644
--- a/modules/user/aszlig/profiles/managed.nix
+++ b/modules/user/aszlig/profiles/managed.nix
@@ -1,4 +1,4 @@
-{ pkgs, unfreeAndNonDistributablePkgs, config, lib, ... }:
+{ pkgs, unfreePkgs, unfreeAndNonDistributablePkgs, config, lib, ... }:
 
 let
   inherit (lib) mkIf mkEnableOption mkOption;
@@ -31,7 +31,10 @@ in {
       pkgs.git
       pkgs.htop
       pkgs.inkscape
-      pkgs.kdeApplications.ark
+      (unfreeAndNonDistributablePkgs.kdeApplications.ark.override {
+        unfreeEnableUnrar = true;
+        inherit (unfreePkgs) unrar;
+      })
       pkgs.kdeApplications.gwenview
       pkgs.kdeApplications.kaddressbook
       pkgs.kdeApplications.kate