Files
home-manager/tests/modules/programs/worktrunk/example-settings.nix
eveeifyeve df044b78fd worktrunk: add module
Co-authored-by: Willi Carlsen <carlsenwilli@gmail.com>
Co-authored-by: Robert Helgesson <robert@rycee.net>
2026-09-09 23:02:07 -05:00

24 lines
516 B
Nix

{
programs.worktrunk = {
enable = true;
settings = {
skip-shell-integration-prompt = true;
post-start = {
copy = "wt step copy-ignored";
};
};
};
nmt.script = ''
assertFileExists home-files/.config/worktrunk/config.toml
assertFileContent \
home-files/.config/worktrunk/config.toml \
${builtins.toFile "worktrunk-config.toml" ''
skip-shell-integration-prompt = true
[post-start]
copy = "wt step copy-ignored"
''}
'';
}