From f6b132a92045fe3c4d9339c8ea0da2cc7dcafed9 Mon Sep 17 00:00:00 2001 From: Antoine Vaure Date: Thu, 30 Oct 2025 14:49:54 +0100 Subject: [PATCH 1/6] workflow: build before pushing the new branch --- .forgejo/workflows/nix-inputs-update.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.forgejo/workflows/nix-inputs-update.yml b/.forgejo/workflows/nix-inputs-update.yml index 36aa425..14f31eb 100644 --- a/.forgejo/workflows/nix-inputs-update.yml +++ b/.forgejo/workflows/nix-inputs-update.yml @@ -9,4 +9,5 @@ jobs: - run: git checkout -b update-nix-inputs - run: nix flake update - run: git commit -a -m "Update flake inputs $(date +'%d/%m/%Y')" --author="Update flake worklow " + - run: nix build .#build-all - run: git push --force --set-upstream origin update-nix-inputs From 49a6082e47b00912ee350ddf3de86917bc2ba69c Mon Sep 17 00:00:00 2001 From: ant Date: Mon, 6 Oct 2025 22:06:59 +0200 Subject: [PATCH 2/6] revert st color changes --- flake.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index 518886f..7afee1a 100644 --- a/flake.lock +++ b/flake.lock @@ -261,11 +261,11 @@ "nixpkgs": "nixpkgs_3" }, "locked": { - "lastModified": 1759490516, - "narHash": "sha256-AjlhGuJlYt4Y0GCMUl9l77ua3XPi6fwChXTasrskhmY=", - "rev": "042af42400e57abd9d1ad50f6094ea09b2679b2d", + "lastModified": 1752791100, + "narHash": "sha256-NsZUGTrB13vYzkJXlrJHnTll91cTlYb/p1ubmGupysg=", + "rev": "48f696499db3c6adfe6e0813afc49c582be20a3b", "type": "tarball", - "url": "https://git.antoinevaure.fr/api/v1/repos/ant/st-flexipatch/archive/042af42400e57abd9d1ad50f6094ea09b2679b2d.tar.gz" + "url": "https://git.antoinevaure.fr/api/v1/repos/ant/st-flexipatch/archive/48f696499db3c6adfe6e0813afc49c582be20a3b.tar.gz" }, "original": { "type": "tarball", From 22d8738876bda38be194e577703fca26da01a97a Mon Sep 17 00:00:00 2001 From: ant Date: Sat, 11 Oct 2025 13:13:04 +0200 Subject: [PATCH 3/6] add .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b2be92b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +result From f63f401ffd42cb1a99efd45f32d8d6c738441025 Mon Sep 17 00:00:00 2001 From: ant Date: Sat, 11 Oct 2025 13:13:19 +0200 Subject: [PATCH 4/6] home: add tor-browser to more-software --- home/more-software.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/home/more-software.nix b/home/more-software.nix index e42f19d..6e7f1cc 100644 --- a/home/more-software.nix +++ b/home/more-software.nix @@ -24,6 +24,7 @@ yazi ncdu android-tools + tor-browser ]; programs.neovim.extraPackages = with pkgs; [ From cab460dcb11d3e7e175ae5b62815f3e2eaf1d449 Mon Sep 17 00:00:00 2001 From: ant Date: Sat, 11 Oct 2025 13:23:50 +0200 Subject: [PATCH 5/6] home: fix zathura was not the default pdf viewer --- home/gui-software.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/gui-software.nix b/home/gui-software.nix index f89916e..5c46b80 100644 --- a/home/gui-software.nix +++ b/home/gui-software.nix @@ -53,7 +53,7 @@ programs.zathura.enable = true; xdg.mimeApps.defaultApplications = { - "application/pdf" = "zathura.desktop"; + "application/pdf" = "org.pwmt.zathura.desktop"; "WebBrowser" = "firefox.desktop"; "x-scheme-handler/http" = "firefox.desktop"; "x-scheme-handler/https" = "firefox.desktop"; From 394a6413419f30d22bda0e2072707a1202c7e318 Mon Sep 17 00:00:00 2001 From: ant Date: Sat, 11 Oct 2025 13:28:49 +0200 Subject: [PATCH 6/6] restore lfcd fish function that was removed by mistake --- home/lf.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/home/lf.nix b/home/lf.nix index adef56c..e4aba23 100644 --- a/home/lf.nix +++ b/home/lf.nix @@ -190,6 +190,21 @@ ''; }; + programs.fish.functions.lfcd.body = '' + set tmp (mktemp) + # `command` is needed in case `lfcd` is aliased to `lf` + command lf -last-dir-path=$tmp $argv + if test -f "$tmp" + set dir (cat $tmp) + rm -f $tmp + if test -d "$dir" + if test "$dir" != (pwd) + cd $dir + end + end + end + ''; + programs.fish = { shellAliases = { f = "lfcd";