mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 19:49:45 +01:00
23 lines
448 B
Nix
23 lines
448 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/
|
||
|
|
||
|
local wezterm = require 'wezterm';
|
||
|
|
||
|
return {}
|
||
|
|
||
|
'';
|
||
|
in ''
|
||
|
assertFileExists home-files/.config/wezterm/wezterm.lua
|
||
|
assertFileContent home-files/.config/wezterm/wezterm.lua ${expected}
|
||
|
'';
|
||
|
}
|