depot/third_party/home-manager/tests/modules/programs/foot/example-settings.nix
Default email cfcd52ff70 Project import generated by Copybara.
GitOrigin-RevId: 70c5b268e10025c70823767f4fb49e240b40151d
2021-11-05 00:42:44 +08:00

29 lines
512 B
Nix

{ config, lib, pkgs, ... }:
with lib;
{
config = {
programs.foot = {
enable = true;
package = config.lib.test.mkStubPackage { };
settings = {
main = {
term = "xterm-256color";
font = "Fira Code:size=11";
dpi-aware = "yes";
};
mouse = { hide-when-typing = "yes"; };
};
};
nmt.script = ''
assertFileContent \
home-files/.config/foot/foot.ini \
${./example-settings-expected.ini}
'';
};
}