Compare commits

...

6 commits

Author SHA1 Message Date
ant
394a641341 restore lfcd fish function that was removed by mistake
Some checks failed
/ build-all (push) Has been cancelled
2025-10-30 21:09:45 +01:00
ant
cab460dcb1 home: fix zathura was not the default pdf viewer 2025-10-30 21:09:45 +01:00
ant
f63f401ffd home: add tor-browser to more-software 2025-10-30 21:09:45 +01:00
ant
22d8738876 add .gitignore 2025-10-30 21:09:45 +01:00
ant
49a6082e47 revert st color changes 2025-10-30 21:09:45 +01:00
Antoine Vaure
f6b132a920 workflow: build before pushing the new branch
Some checks failed
/ build-all (push) Has been cancelled
2025-10-30 15:00:01 +01:00
6 changed files with 23 additions and 5 deletions

View file

@ -9,4 +9,5 @@ jobs:
- run: git checkout -b update-nix-inputs - run: git checkout -b update-nix-inputs
- run: nix flake update - run: nix flake update
- run: git commit -a -m "Update flake inputs $(date +'%d/%m/%Y')" --author="Update flake worklow <dummy@domain.xyz>" - run: git commit -a -m "Update flake inputs $(date +'%d/%m/%Y')" --author="Update flake worklow <dummy@domain.xyz>"
- run: nix build .#build-all
- run: git push --force --set-upstream origin update-nix-inputs - run: git push --force --set-upstream origin update-nix-inputs

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
result

8
flake.lock generated
View file

@ -261,11 +261,11 @@
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_3"
}, },
"locked": { "locked": {
"lastModified": 1759490516, "lastModified": 1752791100,
"narHash": "sha256-AjlhGuJlYt4Y0GCMUl9l77ua3XPi6fwChXTasrskhmY=", "narHash": "sha256-NsZUGTrB13vYzkJXlrJHnTll91cTlYb/p1ubmGupysg=",
"rev": "042af42400e57abd9d1ad50f6094ea09b2679b2d", "rev": "48f696499db3c6adfe6e0813afc49c582be20a3b",
"type": "tarball", "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": { "original": {
"type": "tarball", "type": "tarball",

View file

@ -53,7 +53,7 @@
programs.zathura.enable = true; programs.zathura.enable = true;
xdg.mimeApps.defaultApplications = { xdg.mimeApps.defaultApplications = {
"application/pdf" = "zathura.desktop"; "application/pdf" = "org.pwmt.zathura.desktop";
"WebBrowser" = "firefox.desktop"; "WebBrowser" = "firefox.desktop";
"x-scheme-handler/http" = "firefox.desktop"; "x-scheme-handler/http" = "firefox.desktop";
"x-scheme-handler/https" = "firefox.desktop"; "x-scheme-handler/https" = "firefox.desktop";

View file

@ -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 = { programs.fish = {
shellAliases = { shellAliases = {
f = "lfcd"; f = "lfcd";

View file

@ -24,6 +24,7 @@
yazi yazi
ncdu ncdu
android-tools android-tools
tor-browser
]; ];
programs.neovim.extraPackages = with pkgs; [ programs.neovim.extraPackages = with pkgs; [