From 982daa028aff4822c3b50b26d2d51a8523c02075 Mon Sep 17 00:00:00 2001 From: Tomas Rivera Date: Mon, 25 May 2026 16:04:38 +0200 Subject: [PATCH 01/16] zsh: updated PATH --- modules/applications/zsh.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/applications/zsh.nix b/modules/applications/zsh.nix index 4eef1f6..c374757 100644 --- a/modules/applications/zsh.nix +++ b/modules/applications/zsh.nix @@ -35,7 +35,6 @@ } eval "$(direnv hook zsh)" eval "$(deja init zsh)" - export PATH="$PATH:$HOME/NoteWrapper" # some project im coding fastfetch''\n''; shellAliases = { ".." = "z .."; From 80dd4c217fc9799523c17f8ae6c900b445e0d2bf Mon Sep 17 00:00:00 2001 From: Tomas Rivera Date: Mon, 25 May 2026 17:52:54 +0200 Subject: [PATCH 02/16] notewrapper: init flake --- flake.lock | 74 +++++++++++++++++++++++++++++++- flake.nix | 4 ++ modules/utilities/otherUtils.nix | 3 +- 3 files changed, 79 insertions(+), 2 deletions(-) diff --git a/flake.lock b/flake.lock index 2c609ee..4fad51d 100755 --- a/flake.lock +++ b/flake.lock @@ -64,6 +64,24 @@ "type": "github" } }, + "flake-utils": { + "inputs": { + "systems": "systems" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -197,6 +215,44 @@ "type": "github" } }, + "notewrapper": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": [ + "nixpkgs-unstable" + ], + "notewrapper": "notewrapper_2" + }, + "locked": { + "lastModified": 1779722999, + "narHash": "sha256-eFbiK5jLlfcwPzwTf6qqUVizEX9IwIOAdrBr7Vp9XZQ=", + "owner": "tomasriveral", + "repo": "notewrapper", + "rev": "2a09d4ee46edb24f1f9e8359d5a62d5d79865091", + "type": "github" + }, + "original": { + "owner": "tomasriveral", + "repo": "notewrapper", + "type": "github" + } + }, + "notewrapper_2": { + "flake": false, + "locked": { + "lastModified": 1779721342, + "narHash": "sha256-QbRzgD4HoUUemaVCIZ2VfiW+SUjzFY2rL51CLOxQLvk=", + "owner": "tomasriveral", + "repo": "NoteWrapper", + "rev": "e370f98c5ebc3c037dec4e7e35f26230724b70d3", + "type": "github" + }, + "original": { + "owner": "tomasriveral", + "repo": "NoteWrapper", + "type": "github" + } + }, "quickshell": { "inputs": { "nixpkgs": [ @@ -227,7 +283,23 @@ "microPlugins-vivify": "microPlugins-vivify", "nixos-grub-themes": "nixos-grub-themes", "nixpkgs": "nixpkgs_2", - "nixpkgs-unstable": "nixpkgs-unstable" + "nixpkgs-unstable": "nixpkgs-unstable", + "notewrapper": "notewrapper" + } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" } } }, diff --git a/flake.nix b/flake.nix index 6bb3c93..0dd2610 100644 --- a/flake.nix +++ b/flake.nix @@ -9,6 +9,10 @@ url = "github:nix-community/home-manager/release-25.11"; inputs.nixpkgs.follows = "nixpkgs"; }; + notewrapper = { + url = "github:tomasriveral/notewrapper"; + inputs.nixpkgs.follows = "nixpkgs-unstable"; + }; caelestia-shell = { # based on quickshell. See https://github.com/caelestia-dots/shell url = "github:caelestia-dots/shell"; diff --git a/modules/utilities/otherUtils.nix b/modules/utilities/otherUtils.nix index eb34b8a..575afaf 100644 --- a/modules/utilities/otherUtils.nix +++ b/modules/utilities/otherUtils.nix @@ -1,4 +1,4 @@ -{self, ...}: { +{self, inputs, ...}: { flake.nixosModules.otherUtils = # try to keep packages here at a minium. Preferably use a dedicated file { @@ -24,6 +24,7 @@ self.packages.${pkgs.system}.custom-syllabes pkgs-unstable.bitwarden-desktop fluffychat # matrix client + inputs.notewrapper.packages.${pkgs.system}.default ]; }; } From c6488c7d471df488ff60e44aa9b88fbff8027537 Mon Sep 17 00:00:00 2001 From: Tomas Rivera Date: Mon, 25 May 2026 17:53:42 +0200 Subject: [PATCH 03/16] mullvad: turned off lockdown mode --- other/mullvad/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/other/mullvad/settings.json b/other/mullvad/settings.json index 722a64f..cfa98d0 100644 --- a/other/mullvad/settings.json +++ b/other/mullvad/settings.json @@ -125,4 +125,4 @@ } ], "rollout_threshold_seed": null -} \ No newline at end of file +} From 43df516fa221b9d22328326d66d05bb861c580be Mon Sep 17 00:00:00 2001 From: Tomas Rivera Date: Tue, 26 May 2026 11:24:05 +0200 Subject: [PATCH 04/16] 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 ]; }; } From 1b33855fb1981d76b80ce0406bad4e6536f38d33 Mon Sep 17 00:00:00 2001 From: Tomas Rivera Date: Tue, 26 May 2026 11:26:22 +0200 Subject: [PATCH 05/16] flake.lock: autoupdate-2026-05-26T09-24-05Z --- flake.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/flake.lock b/flake.lock index 4fad51d..1ac5dc6 100755 --- a/flake.lock +++ b/flake.lock @@ -185,11 +185,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1779536132, - "narHash": "sha256-q+fF42iv/geEbHfgSzy3tS0FF/EyD6XTZ98E6yxiBO8=", + "lastModified": 1779694939, + "narHash": "sha256-Ly4j75O8ICaSQx3uxPnwk2x7PMF0XQvn5r0c3yBA7FI=", "owner": "nixos", "repo": "nixpkgs", - "rev": "3d8f0f3f72a6cd4d93d0ad13203f2ea1cb7e1456", + "rev": "f9d8b65950353691ab56561e7c73d2e1063d810b", "type": "github" }, "original": { @@ -201,11 +201,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1779102034, - "narHash": "sha256-vZJZjLo513IeI8hjzHFc6TDezUd4uCE2Eq4SNO3DNNg=", + "lastModified": 1779467186, + "narHash": "sha256-nOesoDCiXcUftqbRBMz9tt4blI5PvljMWbm3kuCA+0s=", "owner": "nixos", "repo": "nixpkgs", - "rev": "687f05a9184cad4eaf905c48b63649e3a86f5433", + "rev": "b77b3de8775677f84492abe84635f87b0e153f0f", "type": "github" }, "original": { @@ -224,11 +224,11 @@ "notewrapper": "notewrapper_2" }, "locked": { - "lastModified": 1779722999, - "narHash": "sha256-eFbiK5jLlfcwPzwTf6qqUVizEX9IwIOAdrBr7Vp9XZQ=", + "lastModified": 1779787325, + "narHash": "sha256-xwzbtKpnJ6Ldh+WfdZ2a4yMSI310zrG6mOJuY0+Y9qU=", "owner": "tomasriveral", "repo": "notewrapper", - "rev": "2a09d4ee46edb24f1f9e8359d5a62d5d79865091", + "rev": "30616b1b6fff5a7d6ab1ee62337994fa56d572a9", "type": "github" }, "original": { From 1d71a4dfcd0d8292a5240baaebfd13b07b789321 Mon Sep 17 00:00:00 2001 From: Tomas Rivera Date: Tue, 26 May 2026 12:11:26 +0200 Subject: [PATCH 06/16] librewolf: remove ublock go back to adnauseam AdNauseam didn't block (with my settings) youtube ads. Just use a VPN to Albania. --- modules/applications/browser.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/applications/browser.nix b/modules/applications/browser.nix index ceb9132..5098137 100644 --- a/modules/applications/browser.nix +++ b/modules/applications/browser.nix @@ -146,7 +146,7 @@ }; "uBlock0@raymondhill.net" = { install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"; - installation_mode = "force_installed"; + installation_mode = "blocked"; }; "{08d5243b-4236-4a27-984b-1ded22ce01c3}" = { install_url = "https://addons.mozilla.org/firefox/downloads/file/3729287/gruvboxgruvboxgruvboxgruvboxgr-1.0.xpi"; From d7e2e22799810e08f6d43a35cc01b6a997e19fbd Mon Sep 17 00:00:00 2001 From: Tomas Rivera Date: Tue, 26 May 2026 21:20:29 +0200 Subject: [PATCH 07/16] nom: add rss feed --- modules/hosts/laptop.nix | 1 + modules/utilities/rss.nix | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 modules/utilities/rss.nix diff --git a/modules/hosts/laptop.nix b/modules/hosts/laptop.nix index 9536962..846bc2e 100644 --- a/modules/hosts/laptop.nix +++ b/modules/hosts/laptop.nix @@ -43,6 +43,7 @@ #ollama otherUtils printer + rss udev user ]; diff --git a/modules/utilities/rss.nix b/modules/utilities/rss.nix new file mode 100644 index 0000000..f6ca8f3 --- /dev/null +++ b/modules/utilities/rss.nix @@ -0,0 +1,7 @@ +_: { + flake.nixosModules.rss = {pkgs, ...}: { + environment.systemPackages = with pkgs; [ + nom + ]; + }; +} From 020f06def8c6fd79834edb2211ead9de5bb5e393 Mon Sep 17 00:00:00 2001 From: Tomas Rivera Date: Tue, 26 May 2026 21:21:19 +0200 Subject: [PATCH 08/16] dev: add nixpkgs-review --- modules/utilities/development.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/utilities/development.nix b/modules/utilities/development.nix index b35009b..bfca416 100644 --- a/modules/utilities/development.nix +++ b/modules/utilities/development.nix @@ -17,6 +17,7 @@ _: { ])) python313Packages.pygments # used for ccat (comment of colorize plugin from oh-my-zsh) pkg-config + nixpkgs-review gdb raylib glfw # raylib and some dependecies From 7efb71d2253ba2f4948fa6f8cc13cd9bf54ce2d1 Mon Sep 17 00:00:00 2001 From: Tomas Rivera Date: Thu, 28 May 2026 10:18:40 +0200 Subject: [PATCH 09/16] Librewolf: add bookmark outlook mail --- modules/applications/browser.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/applications/browser.nix b/modules/applications/browser.nix index 5098137..ed0b5b6 100644 --- a/modules/applications/browser.nix +++ b/modules/applications/browser.nix @@ -346,6 +346,12 @@ keyword = "Cogito l'Esprit critique"; url = "https://app.cogito.fr"; } + { + name = "EPFL email"; + tags = ["mail" "outlook" "epfl"]; + keyword = "EPFL email"; + url = "https://outlook.office.com/mail"; + } ]; }; search = { From 4d5e1ace424dfc117b646c31a04fbb3c6cc07182 Mon Sep 17 00:00:00 2001 From: Tomas Rivera Date: Thu, 28 May 2026 10:59:24 +0200 Subject: [PATCH 10/16] tlp: tweak config --- modules/hardware/battery.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/hardware/battery.nix b/modules/hardware/battery.nix index d05338b..13e27b2 100644 --- a/modules/hardware/battery.nix +++ b/modules/hardware/battery.nix @@ -41,14 +41,14 @@ _: { CPU_BOOST_ON_BAT = 1; CPU_HWP_DYN_BOOST_ON_AC = 1; CPU_HWP_DYN_BOOST_ON_BAT = 1; - CPU_SCALING_GOVERNOR_ON_AC = "performance"; + CPU_SCALING_GOVERNOR_ON_AC = "balanced"; CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; - CPU_ENERGY_PERF_POLICY_ON_AC = "performance"; - CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_power"; - PLATFORM_PROFILE_ON_AC = "performance"; - PLATFORM_PROFILE_ON_BAT = "balanced"; - START_CHARGE_THRESH_BAT1 = 75; - STOP_CHARGE_THRESH_BAT1 = 85; + CPU_ENERGY_PERF_POLICY_ON_AC = "balanced"; + CPU_ENERGY_PERF_POLICY_ON_BAT = "powersave"; + PLATFORM_PROFILE_ON_AC = "balanced"; + PLATFORM_PROFILE_ON_BAT = "powersave"; + START_CHARGE_THRESH_BAT1 = 40; + STOP_CHARGE_THRESH_BAT1 = 80; }; }; # }; From e4e61b3d3537028d78651ae8f0873324135bd206 Mon Sep 17 00:00:00 2001 From: Tomas Rivera Date: Thu, 28 May 2026 18:07:42 +0200 Subject: [PATCH 11/16] snapshot pre-autoupdate-2026-05-28T16-07-42Z From 3690b2896cd8648df2d52ddc5d59b0ed7ca53ee2 Mon Sep 17 00:00:00 2001 From: Tomas Rivera Date: Thu, 28 May 2026 18:09:49 +0200 Subject: [PATCH 12/16] flake.lock: autoupdate-2026-05-28T16-07-42Z --- flake.lock | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/flake.lock b/flake.lock index 1ac5dc6..8bc3c3c 100755 --- a/flake.lock +++ b/flake.lock @@ -185,11 +185,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1779694939, - "narHash": "sha256-Ly4j75O8ICaSQx3uxPnwk2x7PMF0XQvn5r0c3yBA7FI=", + "lastModified": 1779877693, + "narHash": "sha256-NOF9NAREhxr50bbBfVcVOq+ArCMSoe8dP79Pk2uyARk=", "owner": "nixos", "repo": "nixpkgs", - "rev": "f9d8b65950353691ab56561e7c73d2e1063d810b", + "rev": "4100e830e085863741bc69b156ec4ccd53ab5be0", "type": "github" }, "original": { @@ -201,11 +201,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1779467186, - "narHash": "sha256-nOesoDCiXcUftqbRBMz9tt4blI5PvljMWbm3kuCA+0s=", + "lastModified": 1779796641, + "narHash": "sha256-ZsIrKmhp4vbBXoXXmR/tBXA/UCsAQiJL9vsgZEduhVY=", "owner": "nixos", "repo": "nixpkgs", - "rev": "b77b3de8775677f84492abe84635f87b0e153f0f", + "rev": "25f538306313eae3927264466c70d7001dcea1df", "type": "github" }, "original": { @@ -224,11 +224,11 @@ "notewrapper": "notewrapper_2" }, "locked": { - "lastModified": 1779787325, - "narHash": "sha256-xwzbtKpnJ6Ldh+WfdZ2a4yMSI310zrG6mOJuY0+Y9qU=", + "lastModified": 1779896579, + "narHash": "sha256-ngPHJ7W36atwMLVQTzP4i5VlS1Lqj9nSt7mKDD6xGiw=", "owner": "tomasriveral", "repo": "notewrapper", - "rev": "30616b1b6fff5a7d6ab1ee62337994fa56d572a9", + "rev": "7af79c76b1cdbbf3f516aa76a5ffe7ca169b1cfd", "type": "github" }, "original": { @@ -240,11 +240,11 @@ "notewrapper_2": { "flake": false, "locked": { - "lastModified": 1779721342, - "narHash": "sha256-QbRzgD4HoUUemaVCIZ2VfiW+SUjzFY2rL51CLOxQLvk=", + "lastModified": 1779896337, + "narHash": "sha256-Xw5vkiN4ei2dkzIRXP0DLSYG8QRjQ0MLvFx2akt96kk=", "owner": "tomasriveral", "repo": "NoteWrapper", - "rev": "e370f98c5ebc3c037dec4e7e35f26230724b70d3", + "rev": "4d228fb9118f22264863716ac2d74c4ad67edbf8", "type": "github" }, "original": { From 1f226bfcea559f5d3031d832e1dd333a5d9d923d Mon Sep 17 00:00:00 2001 From: Tomas Rivera Date: Fri, 29 May 2026 17:43:33 +0200 Subject: [PATCH 13/16] Librewolf: add bookmark ZH failure unmaintained --- modules/applications/browser.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/applications/browser.nix b/modules/applications/browser.nix index ed0b5b6..502d09f 100644 --- a/modules/applications/browser.nix +++ b/modules/applications/browser.nix @@ -352,6 +352,12 @@ keyword = "EPFL email"; url = "https://outlook.office.com/mail"; } + { + name = "nixpkgs' failing and orphan packages"; + tags = [ "nixpkgs" "fail" "orphan" "ZH" "zero hydra failure"]; + keyword = "Zero hydra failure orphan packages"; + url = "https://zh.fail/failed/by-maintainer/_.html"; + } ]; }; search = { From cc5118c021da130ab651b7447e4868ee65daea28 Mon Sep 17 00:00:00 2001 From: Tomas Rivera Date: Sat, 30 May 2026 11:57:28 +0200 Subject: [PATCH 14/16] tlp: desactivate for debuging battery capped at 65% issue --- modules/hosts/laptop.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hosts/laptop.nix b/modules/hosts/laptop.nix index 846bc2e..f681313 100644 --- a/modules/hosts/laptop.nix +++ b/modules/hosts/laptop.nix @@ -18,7 +18,7 @@ audioAndMedia autoCleanup-laptop autoUpdate-laptop - battery-laptop + #battery-laptop bluetooth bootloader-laptop browsers From dbdc72dc64afb097e31511692b0d688d6c8d3a2e Mon Sep 17 00:00:00 2001 From: Tomas Rivera Date: Sat, 30 May 2026 12:01:01 +0200 Subject: [PATCH 15/16] snapshot pre-autoupdate-2026-05-30T10-01-01Z From 11e6661af05f3fd76705724b5721567e6a9b3b52 Mon Sep 17 00:00:00 2001 From: Tomas Rivera Date: Sat, 30 May 2026 12:02:23 +0200 Subject: [PATCH 16/16] Librewolf: add nix, nixos and nixpkgs manual as bookmark --- modules/applications/browser.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/modules/applications/browser.nix b/modules/applications/browser.nix index 502d09f..0dc2666 100644 --- a/modules/applications/browser.nix +++ b/modules/applications/browser.nix @@ -358,6 +358,24 @@ keyword = "Zero hydra failure orphan packages"; url = "https://zh.fail/failed/by-maintainer/_.html"; } + { + name = "NixOS Manual - Unstable"; + tags = [ "nixos" "manual" "unstable"]; + keyword = "NixOS manual"; + url = "https://nixos.org/manual/nixos/unstable/"; + } + { + name = "Nixpgks Reference Manual - Unstable"; + tags = [ "nixpkgs" "manual" "reference" "unstable" ]; + keyword = "nixpkgs reference manual"; + url = "https://nixos.org/manual/nixpkgs/unstable/"; + } + { + name = "Nix Reference Manual - 2.34."; + tags = [ "nix" "manual" "reference" "2.34"]; + keyword = "nix reference manual"; + url = "https://nix.dev/manual/nix/2.34/nix-2.34.html"; + } ]; }; search = {