mirror of
https://github.com/nix-community/home-manager
synced 2024-12-05 01:19:46 +01:00
25 lines
574 B
Nix
25 lines
574 B
Nix
|
{ ... }:
|
||
|
|
||
|
{
|
||
|
programs.wezterm = { enable = true; };
|
||
|
|
||
|
test.stubs.wezterm = { };
|
||
|
|
||
|
nmt.script = let
|
||
|
expected = builtins.toFile "wezterm.lua" ''
|
||
|
-- Generated by Home Manager.
|
||
|
-- See https://wezfurlong.org/wezterm/
|
||
|
|
||
|
-- Add config folder to watchlist for config reloads.
|
||
|
local wezterm = require 'wezterm';
|
||
|
wezterm.add_to_config_reload_watch_list(wezterm.config_dir)
|
||
|
|
||
|
return {}
|
||
|
|
||
|
'';
|
||
|
in ''
|
||
|
assertFileExists home-files/.config/wezterm/wezterm.lua
|
||
|
assertFileContent home-files/.config/wezterm/wezterm.lua ${expected}
|
||
|
'';
|
||
|
}
|