parent
a82cdd288e
commit
383296ffa4
8 changed files with 169 additions and 0 deletions
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"newNoteFocus": "title",
|
||||
"richTextBannerDismissed": true,
|
||||
"sync.interval": 600,
|
||||
"sync.target": 7
|
||||
}
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
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}
|
||||
'';
|
||||
}
|
||||
1
tests/modules/programs/joplin-desktop/default.nix
Normal file
1
tests/modules/programs/joplin-desktop/default.nix
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ joplin-desktop-basic-configuration = ./basic-configuration.nix; }
|
||||
Loading…
Add table
Add a link
Reference in a new issue