mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 15:09:46 +01:00
383296ffa4
PR #5020
23 lines
518 B
Nix
23 lines
518 B
Nix
{
|
|
programs.joplin-desktop = {
|
|
enable = true;
|
|
sync = {
|
|
target = "dropbox";
|
|
interval = "10m";
|
|
};
|
|
extraConfig = {
|
|
"richTextBannerDismissed" = true;
|
|
"newNoteFocus" = "title";
|
|
};
|
|
};
|
|
|
|
test.stubs.joplin-desktop = { };
|
|
|
|
nmt.script = ''
|
|
assertFileContains activate \
|
|
'/home/hm-user/.config/joplin-desktop/settings.json'
|
|
|
|
generated="$(grep -o '/nix/store/.*-joplin-settings.json' $TESTED/activate)"
|
|
diff -u "$generated" ${./basic-configuration.json}
|
|
'';
|
|
}
|