Adjust fzgo paths

This commit is contained in:
Thomas Avé 2025-01-02 15:55:52 +01:00
parent 421d69c2dd
commit 877995461e
6 changed files with 51 additions and 26 deletions

View File

@ -8,11 +8,11 @@
"locked": { "locked": {
"lastModified": 1, "lastModified": 1,
"narHash": "sha256-DuhR3y0gPZG0AJ2FDd+nUKzQMwT+c/DFIUWNDQ5Uyx4=", "narHash": "sha256-DuhR3y0gPZG0AJ2FDd+nUKzQMwT+c/DFIUWNDQ5Uyx4=",
"path": "/nix/store/44vbj3dmf3khwpn35cj2hajz410bkb50-source/home/ags", "path": "/nix/store/69kjbmj55k34l0kd527hbf0hrbglbdf2-source/home/ags",
"type": "path" "type": "path"
}, },
"original": { "original": {
"path": "/nix/store/44vbj3dmf3khwpn35cj2hajz410bkb50-source/home/ags", "path": "/nix/store/69kjbmj55k34l0kd527hbf0hrbglbdf2-source/home/ags",
"type": "path" "type": "path"
} }
}, },
@ -233,11 +233,11 @@
"zig": "zig" "zig": "zig"
}, },
"locked": { "locked": {
"lastModified": 1735689283, "lastModified": 1735931349,
"narHash": "sha256-LOZRScnB8Q9ylmlXnt2j2v4Aj1b5JZTdSeKYaFL1RDw=", "narHash": "sha256-BzzAN8XHuXdbJD2bwXF0NP99673013MopicJd/dX+nU=",
"owner": "ghostty-org", "owner": "ghostty-org",
"repo": "ghostty", "repo": "ghostty",
"rev": "60611b8a4a1d5b3c1097cce85eb0311de0696cfa", "rev": "ab9b14215c234f7dc364047cdb2a7d78eab0c9ac",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -275,11 +275,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1735735907, "lastModified": 1735925111,
"narHash": "sha256-/AOGn9qJMjrZQyWYbObHTKmWDUP0q9+0TAXOJnq6ik0=", "narHash": "sha256-/NptDI4njO5hH0ZVQ2yzbvTXmBOabZaGYkjhnMJ37TY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "59a4c43e9ba6db24698c112720a58a334117de83", "rev": "ef64efdbaca99f9960f75efab991e4c49e79a5f1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -362,11 +362,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1735737081, "lastModified": 1735908454,
"narHash": "sha256-sKUdrHtR9XJRKO5oE2VrfeOogbOMKKUZ92T5zLCpMBg=", "narHash": "sha256-fLVWWt2zcsALP8yixH3kaJmJMVee5K5sklbgWGisC5s=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "4e93b2def5f00f944abbd63a8258ee18bd99ff54", "rev": "b0cd9972e8158bbda2ee3933668ce727e8a9ae5c",
"revCount": 5609, "revCount": 5622,
"submodules": true, "submodules": true,
"type": "git", "type": "git",
"url": "https://github.com/hyprwm/Hyprland" "url": "https://github.com/hyprwm/Hyprland"
@ -389,11 +389,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1728345020, "lastModified": 1735734474,
"narHash": "sha256-xGbkc7U/Roe0/Cv3iKlzijIaFBNguasI31ynL2IlEoM=", "narHash": "sha256-9OV4lOqrEJVLdOrpNN/9msNwAhI6FQTu4N7fufilG08=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprland-protocols", "repo": "hyprland-protocols",
"rev": "a7c183800e74f337753de186522b9017a07a8cee", "rev": "271df559dd30e4bc5ec6af02d017ac0aaabd63a7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -649,11 +649,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1735471104, "lastModified": 1735834308,
"narHash": "sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs=", "narHash": "sha256-dklw3AXr3OGO4/XT1Tu3Xz9n/we8GctZZ75ZWVqAVhk=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "88195a94f390381c6afcdaa933c2f6ff93959cb4", "rev": "6df24922a1400241dae323af55f30e4318a6ca65",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -665,11 +665,11 @@
}, },
"nixpkgs_5": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1735471104, "lastModified": 1735834308,
"narHash": "sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs=", "narHash": "sha256-dklw3AXr3OGO4/XT1Tu3Xz9n/we8GctZZ75ZWVqAVhk=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "88195a94f390381c6afcdaa933c2f6ff93959cb4", "rev": "6df24922a1400241dae323af55f30e4318a6ca65",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -702,11 +702,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1735736587, "lastModified": 1735936131,
"narHash": "sha256-EqZNubitri6/Enj2dkTRTQjQoWCdtSNCbQ3cf3nPeeQ=", "narHash": "sha256-2iEzzGoS2PT1xKFwmltEtC8eAkjJJcEiv1URkYm2DZY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "cfad7032d277074c1b8bb040405095c71b808fba", "rev": "8feb9975a39f65a04fdba8259a2659621b11b681",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -23,6 +23,7 @@
excludesfile = "~/.gitignore"; excludesfile = "~/.gitignore";
editor = "${pkgs.neovim}/bin/nvim"; editor = "${pkgs.neovim}/bin/nvim";
}; };
rerere.enabled = true;
}; };
}; };
} }

View File

@ -22,6 +22,7 @@
texlab texlab
ltex-ls ltex-ls
basedpyright basedpyright
mypy
cmake-language-server cmake-language-server
vscode-langservers-extracted vscode-langservers-extracted
yaml-language-server yaml-language-server

View File

@ -0,0 +1,15 @@
return {
"mfussenegger/nvim-lint",
config = function ()
require("lint").linters_by_ft = {
python = {"dmypy"},
}
vim.api.nvim_create_autocmd({ "BufWritePost" }, {
callback = function()
-- try_lint without arguments runs the linters defined in `linters_by_ft`
-- for the current filetype
require("lint").try_lint()
end,
})
end
}

View File

@ -59,7 +59,15 @@
initExtra = '' initExtra = ''
LOCAL_SEARCH_DIRS=(~/.dotfiles/) LOCAL_SEARCH_DIRS=(~/.dotfiles/)
REMOTE_SEARCH_DIRS=(~/Workspace/ /home/server/Storage/Shared/ /home/server/Storage/Thomas/) REMOTE_SEARCH_DIRS=(
~/Workspace/Trackbox/Branches/
~/Workspace/Trackbox/Repositories/
~/Workspace/Trackbox/Resources/
~/Workspace/Trackbox/Docker/
~/Workspace/University/PhD/Thesis/
/home/server/Storage/Shared/
/home/server/Storage/Thomas/
)
export LD_LIBRARY_PATH=${pkgs.sqlite.out}/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=${pkgs.sqlite.out}/lib:$LD_LIBRARY_PATH
''; '';

View File

@ -36,7 +36,7 @@ function find_global() {
done done
for i in "$REMOTE_SEARCH_DIRS[@]"; do for i in "$REMOTE_SEARCH_DIRS[@]"; do
if [ -d "$i" ]; then if [ -d "$i" ]; then
PATHS="$PATHS\n$i\n$(ssh mallorea fd . \"$i\" -t $file_type -d 8)" PATHS="$PATHS\n$i\n$(ssh mallorea fd . \"$i\" -t $file_type -d 15)"
fi fi
done done
echo "$PATHS" > $FZGO_CACHE echo "$PATHS" > $FZGO_CACHE