2.home-manager/tests/modules/programs/atool/config-correct.nix
oneorseveralcats 40955dc50a atool: add module
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.
2026-03-26 16:24:39 -05:00

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"
'';
}