1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 06:59:45 +01:00
home-manager/tests/modules/programs/imv/basic-configuration.nix
Christoph Heiss 39c7d0a97a
imv: add module (#4032)
* imv: add module

Signed-off-by: Christoph Heiss <christoph@c8h4.io>

* imv: add test cases

Signed-off-by: Christoph Heiss <christoph@c8h4.io>

---------

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
Co-authored-by: Naïm Favier <n@monade.li>
2023-06-07 14:51:05 +02:00

20 lines
413 B
Nix

{ pkgs, ... }:
{
config = {
programs.imv = {
enable = true;
package = pkgs.writeScriptBin "dummy-imv" "";
settings = {
options.background = "ffffff";
aliases.x = "close";
};
};
nmt.script = ''
assertFileExists home-files/.config/imv/config
assertFileContent home-files/.config/imv/config \
${./basic-configuration.conf}
'';
};
}