mirror of
https://github.com/nix-community/home-manager
synced 2024-09-12 06:16:33 +02:00
* 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>
21 lines
413 B
Nix
21 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}
|
|
'';
|
|
};
|
|
}
|