diff --git a/flake.lock b/flake.lock index 6abb362..e84af1c 100644 --- a/flake.lock +++ b/flake.lock @@ -8,11 +8,11 @@ "locked": { "lastModified": 1, "narHash": "sha256-DuhR3y0gPZG0AJ2FDd+nUKzQMwT+c/DFIUWNDQ5Uyx4=", - "path": "/nix/store/44vbj3dmf3khwpn35cj2hajz410bkb50-source/home/ags", + "path": "/nix/store/69kjbmj55k34l0kd527hbf0hrbglbdf2-source/home/ags", "type": "path" }, "original": { - "path": "/nix/store/44vbj3dmf3khwpn35cj2hajz410bkb50-source/home/ags", + "path": "/nix/store/69kjbmj55k34l0kd527hbf0hrbglbdf2-source/home/ags", "type": "path" } }, @@ -233,11 +233,11 @@ "zig": "zig" }, "locked": { - "lastModified": 1735689283, - "narHash": "sha256-LOZRScnB8Q9ylmlXnt2j2v4Aj1b5JZTdSeKYaFL1RDw=", + "lastModified": 1735931349, + "narHash": "sha256-BzzAN8XHuXdbJD2bwXF0NP99673013MopicJd/dX+nU=", "owner": "ghostty-org", "repo": "ghostty", - "rev": "60611b8a4a1d5b3c1097cce85eb0311de0696cfa", + "rev": "ab9b14215c234f7dc364047cdb2a7d78eab0c9ac", "type": "github" }, "original": { @@ -275,11 +275,11 @@ ] }, "locked": { - "lastModified": 1735735907, - "narHash": "sha256-/AOGn9qJMjrZQyWYbObHTKmWDUP0q9+0TAXOJnq6ik0=", + "lastModified": 1735925111, + "narHash": "sha256-/NptDI4njO5hH0ZVQ2yzbvTXmBOabZaGYkjhnMJ37TY=", "owner": "nix-community", "repo": "home-manager", - "rev": "59a4c43e9ba6db24698c112720a58a334117de83", + "rev": "ef64efdbaca99f9960f75efab991e4c49e79a5f1", "type": "github" }, "original": { @@ -362,11 +362,11 @@ "xdph": "xdph" }, "locked": { - "lastModified": 1735737081, - "narHash": "sha256-sKUdrHtR9XJRKO5oE2VrfeOogbOMKKUZ92T5zLCpMBg=", + "lastModified": 1735908454, + "narHash": "sha256-fLVWWt2zcsALP8yixH3kaJmJMVee5K5sklbgWGisC5s=", "ref": "refs/heads/main", - "rev": "4e93b2def5f00f944abbd63a8258ee18bd99ff54", - "revCount": 5609, + "rev": "b0cd9972e8158bbda2ee3933668ce727e8a9ae5c", + "revCount": 5622, "submodules": true, "type": "git", "url": "https://github.com/hyprwm/Hyprland" @@ -389,11 +389,11 @@ ] }, "locked": { - "lastModified": 1728345020, - "narHash": "sha256-xGbkc7U/Roe0/Cv3iKlzijIaFBNguasI31ynL2IlEoM=", + "lastModified": 1735734474, + "narHash": "sha256-9OV4lOqrEJVLdOrpNN/9msNwAhI6FQTu4N7fufilG08=", "owner": "hyprwm", "repo": "hyprland-protocols", - "rev": "a7c183800e74f337753de186522b9017a07a8cee", + "rev": "271df559dd30e4bc5ec6af02d017ac0aaabd63a7", "type": "github" }, "original": { @@ -649,11 +649,11 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1735471104, - "narHash": "sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs=", + "lastModified": 1735834308, + "narHash": "sha256-dklw3AXr3OGO4/XT1Tu3Xz9n/we8GctZZ75ZWVqAVhk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "88195a94f390381c6afcdaa933c2f6ff93959cb4", + "rev": "6df24922a1400241dae323af55f30e4318a6ca65", "type": "github" }, "original": { @@ -665,11 +665,11 @@ }, "nixpkgs_5": { "locked": { - "lastModified": 1735471104, - "narHash": "sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs=", + "lastModified": 1735834308, + "narHash": "sha256-dklw3AXr3OGO4/XT1Tu3Xz9n/we8GctZZ75ZWVqAVhk=", "owner": "nixos", "repo": "nixpkgs", - "rev": "88195a94f390381c6afcdaa933c2f6ff93959cb4", + "rev": "6df24922a1400241dae323af55f30e4318a6ca65", "type": "github" }, "original": { @@ -702,11 +702,11 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1735736587, - "narHash": "sha256-EqZNubitri6/Enj2dkTRTQjQoWCdtSNCbQ3cf3nPeeQ=", + "lastModified": 1735936131, + "narHash": "sha256-2iEzzGoS2PT1xKFwmltEtC8eAkjJJcEiv1URkYm2DZY=", "owner": "nix-community", "repo": "NUR", - "rev": "cfad7032d277074c1b8bb040405095c71b808fba", + "rev": "8feb9975a39f65a04fdba8259a2659621b11b681", "type": "github" }, "original": { diff --git a/home/git/default.nix b/home/git/default.nix index a4a6b65..9521f1a 100644 --- a/home/git/default.nix +++ b/home/git/default.nix @@ -23,6 +23,7 @@ excludesfile = "~/.gitignore"; editor = "${pkgs.neovim}/bin/nvim"; }; + rerere.enabled = true; }; }; } diff --git a/home/nvim/default.nix b/home/nvim/default.nix index 2b5c3f7..ee3ad99 100644 --- a/home/nvim/default.nix +++ b/home/nvim/default.nix @@ -22,6 +22,7 @@ texlab ltex-ls basedpyright + mypy cmake-language-server vscode-langservers-extracted yaml-language-server diff --git a/home/nvim/files/lua/plugins/nvim-lint.lua b/home/nvim/files/lua/plugins/nvim-lint.lua new file mode 100644 index 0000000..ce7974a --- /dev/null +++ b/home/nvim/files/lua/plugins/nvim-lint.lua @@ -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 +} diff --git a/home/zsh/default.nix b/home/zsh/default.nix index 070186b..495b77e 100644 --- a/home/zsh/default.nix +++ b/home/zsh/default.nix @@ -59,7 +59,15 @@ initExtra = '' 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 ''; diff --git a/home/zsh/files/functions.zsh b/home/zsh/files/functions.zsh index fe49763..6ef1f27 100644 --- a/home/zsh/files/functions.zsh +++ b/home/zsh/files/functions.zsh @@ -36,7 +36,7 @@ function find_global() { done for i in "$REMOTE_SEARCH_DIRS[@]"; do 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 done echo "$PATHS" > $FZGO_CACHE