mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 10:30:44 +02:00
notewrapper: use kdrive directly
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{inputs, ...}: {
|
{inputs, ...}: {
|
||||||
flake.homeModules.notewrapper = {pkgs, ...}: {
|
flake.homeModules.laptop-notewrapper = {pkgs, ...}: {
|
||||||
home.packages = [
|
home.packages = [
|
||||||
inputs.notewrapper.packages.${pkgs.system}.default
|
inputs.notewrapper.packages.${pkgs.system}.default
|
||||||
];
|
];
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
force = true;
|
force = true;
|
||||||
text = ''
|
text = ''
|
||||||
{
|
{
|
||||||
"directory": ["~/Documents/Notes/", "~/test/"],
|
"directory": ["~/kdrive/Notes/"],
|
||||||
"render": true,
|
"render": true,
|
||||||
"jumpToEndOfFileOnLaunch": true,
|
"jumpToEndOfFileOnLaunch": true,
|
||||||
"editor": "neovim",
|
"editor": "neovim",
|
||||||
@@ -16,7 +16,36 @@
|
|||||||
"dateEntry": "# %Y %m %d %a",
|
"dateEntry": "# %Y %m %d %a",
|
||||||
"newLineOnOpening": true,
|
"newLineOnOpening": true,
|
||||||
"backup": {
|
"backup": {
|
||||||
"enable": true,
|
"enable": false,
|
||||||
|
"directory": {
|
||||||
|
"~/Documents/Notes/": "~/kdrive/Notes/",
|
||||||
|
"~/test/": "~/backupTest/"
|
||||||
|
},
|
||||||
|
"interval": "daily",
|
||||||
|
"rsyncArgs": ["-Lqah", "--update"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
flake.homeModules.desktop-notewrapper = {pkgs, ...}: {
|
||||||
|
home.packages = [
|
||||||
|
inputs.notewrapper.packages.${pkgs.system}.default
|
||||||
|
];
|
||||||
|
home.file.".config/notewrapper/config.json" = {
|
||||||
|
enable = true;
|
||||||
|
force = true;
|
||||||
|
text = ''
|
||||||
|
{
|
||||||
|
"directory": ["~/hdd/kdrive/Notes/"],
|
||||||
|
"render": true,
|
||||||
|
"jumpToEndOfFileOnLaunch": true,
|
||||||
|
"editor": "neovim",
|
||||||
|
"journalRegex": ".*journal.*",
|
||||||
|
"dateEntry": "# %Y %m %d %a",
|
||||||
|
"newLineOnOpening": true,
|
||||||
|
"backup": {
|
||||||
|
"enable": false,
|
||||||
"directory": {
|
"directory": {
|
||||||
"~/Documents/Notes/": "~/kdrive/Notes/",
|
"~/Documents/Notes/": "~/kdrive/Notes/",
|
||||||
"~/test/": "~/backupTest/"
|
"~/test/": "~/backupTest/"
|
||||||
|
|||||||
@@ -71,7 +71,7 @@
|
|||||||
mullvad
|
mullvad
|
||||||
neovim
|
neovim
|
||||||
nix-git-cherry-picker-desktop
|
nix-git-cherry-picker-desktop
|
||||||
notewrapper
|
desktop-notewrapper
|
||||||
oh-my-zsh
|
oh-my-zsh
|
||||||
ripgrep
|
ripgrep
|
||||||
rofi
|
rofi
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
mullvad
|
mullvad
|
||||||
neovim
|
neovim
|
||||||
nix-git-cherry-picker-laptop
|
nix-git-cherry-picker-laptop
|
||||||
notewrapper
|
laptop-notewrapper
|
||||||
oh-my-zsh
|
oh-my-zsh
|
||||||
ripgrep
|
ripgrep
|
||||||
rofi
|
rofi
|
||||||
|
|||||||
Reference in New Issue
Block a user