mirror of
https://github.com/nix-community/home-manager
synced 2024-11-01 08:49:44 +01:00
39c7d0a97a
* 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>
20 lines
413 B
Nix
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}
|
|
'';
|
|
};
|
|
}
|