From 43df516fa221b9d22328326d66d05bb861c580be Mon Sep 17 00:00:00 2001 From: Tomas Rivera Date: Tue, 26 May 2026 11:24:05 +0200 Subject: [PATCH] snapshot pre-autoupdate-2026-05-26T09-24-05Z --- modules/applications/notewrapper.nix | 31 ++++++++++++++++++++++++++++ modules/hosts/laptop.nix | 1 + modules/utilities/otherUtils.nix | 1 - 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 modules/applications/notewrapper.nix diff --git a/modules/applications/notewrapper.nix b/modules/applications/notewrapper.nix new file mode 100644 index 0000000..0bb4cf0 --- /dev/null +++ b/modules/applications/notewrapper.nix @@ -0,0 +1,31 @@ +{inputs, ... }: { + flake.homeModules.notewrapper = {pkgs, ...}: { + home.packages = [ + inputs.notewrapper.packages.${pkgs.system}.default + ]; + home.file.".config/notewrapper/config.json" = { + enable = true; + force = true; + text = '' +{ + "directory": ["~/Documents/Notes/", "~/test/"], + "render": true, + "jumpToEndOfFileOnLaunch": true, + "editor": "neovim", + "journalRegex": ".*journal.*", + "dateEntry": "# %Y %m %d %a", + "newLineOnOpening": true, + "backup": { + "enable": true, + "directory": { + "~/Documents/Notes/": "~/kdrive/Notes/", + "~/test/": "~/backupTest/" + }, + "interval": "daily", + "rsyncArgs": ["-Lqah", "--update"] + } +} + ''; + }; + }; +} diff --git a/modules/hosts/laptop.nix b/modules/hosts/laptop.nix index 923d4f5..9536962 100644 --- a/modules/hosts/laptop.nix +++ b/modules/hosts/laptop.nix @@ -63,6 +63,7 @@ librewolf mullvad neovim + notewrapper oh-my-zsh ripgrep rofi diff --git a/modules/utilities/otherUtils.nix b/modules/utilities/otherUtils.nix index 575afaf..d5097ff 100644 --- a/modules/utilities/otherUtils.nix +++ b/modules/utilities/otherUtils.nix @@ -24,7 +24,6 @@ self.packages.${pkgs.system}.custom-syllabes pkgs-unstable.bitwarden-desktop fluffychat # matrix client - inputs.notewrapper.packages.${pkgs.system}.default ]; }; }