Files
home-manager/tests/modules/programs/tuicr/empty-settings.nix
pedromiguelvc e56de7d6c7 tuicr: add module
Add programs.tuicr for tuicr, a TUI for code review. The module writes
settings to config.toml, links local themes into the theme directory,
and makes the package nullable, so it can be installed elsewhere.
2026-11-09 13:28:43 -06:00

22 lines
407 B
Nix

{
programs.tuicr = {
enable = true;
settings = { };
};
test.stubs.tuicr = {
name = "tuicr";
outPath = null;
buildScript = ''
mkdir -p $out/bin
touch $out/bin/tuicr
'';
};
nmt.script = ''
assertPathNotExists "home-files/.config/tuicr/config.toml"
assertPathNotExists "home-files/.config/tuicr/themes"
assertFileExists "home-path/bin/tuicr"
'';
}