atool is a commandline archive manager that uses packages like gnutar, p7zip, unrar, and zip as backends for viewing, creating, and extracting their corresponding archive formats.
14 lines
252 B
Nix
14 lines
252 B
Nix
{ ... }:
|
|
{
|
|
programs.atool = {
|
|
enable = true;
|
|
settings = {
|
|
path_unrar = "unrar-free";
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists "home-files/.atoolrc"
|
|
assertFileContains "home-files/.atoolrc" "path_unrar unrar-free"
|
|
'';
|
|
}
|