1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-01 16:59:43 +01:00
home-manager/tests/modules/programs/wezterm/empty-setting.nix

23 lines
447 B
Nix
Raw Normal View History

2022-04-08 08:48:27 +02:00
{ ... }:
{
programs.wezterm = { enable = true; };
test.stubs.wezterm = { };
nmt.script = let
expected = builtins.toFile "wezterm.lua" ''
-- Generated by Home Manager.
-- See https://wezfurlong.org/wezterm/
local wezterm = require 'wezterm'
2022-04-08 08:48:27 +02:00
return {}
'';
in ''
assertFileExists home-files/.config/wezterm/wezterm.lua
assertFileContent home-files/.config/wezterm/wezterm.lua ${expected}
'';
}