mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-02 19:49:18 +00:00
Co-authored-by: Willi Carlsen <carlsenwilli@gmail.com> Co-authored-by: Robert Helgesson <robert@rycee.net>
24 lines
516 B
Nix
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"
|
|
''}
|
|
'';
|
|
}
|