1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 11:36:05 +01:00
home-manager/tests/modules/programs/zellij/config-mixed.nix

35 lines
638 B
Nix

{
programs = {
zellij = {
enable = true;
settings = {
default_layout = "welcome";
};
extraConfig = ''
This_could_have_been_json {
}
'';
};
};
test.stubs = {
zellij = { };
};
nmt.script = ''
assertFileExists home-files/.config/zellij/config.kdl
assertFileContains \
home-files/.config/zellij/config.kdl \
'default_layout "welcome"'
assertFileContains \
home-files/.config/zellij/config.kdl \
'// extraConfig'
assertFileContains \
home-files/.config/zellij/config.kdl \
'This_could_have_been_json'
'';
}