From 3ae55c39b674f6effb71c8a9cec3dda21f8be9ca Mon Sep 17 00:00:00 2001 From: Leonora Tindall Date: Mon, 9 Feb 2026 08:34:49 -0600 Subject: [PATCH] Update to newer version of pins --- git.nix | 12 ++++++++---- npins/sources.json | 16 ++++++++-------- rcfiles/neovim.lua | 14 ++------------ ssh.nix | 11 +++++++++-- vim.nix | 8 +++++--- 5 files changed, 32 insertions(+), 29 deletions(-) diff --git a/git.nix b/git.nix index 059cc6f..02115ac 100644 --- a/git.nix +++ b/git.nix @@ -2,11 +2,10 @@ { programs.git = { enable = true; - userName = "Leonora Tindall"; - userEmail = "nora@nora.codes"; lfs.enable = true; - delta.enable = true; - extraConfig = { + settings = { + user.name = "Leonora Tindall"; + user.email = "nora@nora.codes"; init.defaultBranch = "main"; push.default = "current"; color.ui = "auto"; @@ -44,5 +43,10 @@ }; }; + programs.delta = { + enable = true; + enableGitIntegration = true; + }; + home.file.".gitignore".source = ./rcfiles/gitignore; } diff --git a/npins/sources.json b/npins/sources.json index 14986d9..49729a1 100644 --- a/npins/sources.json +++ b/npins/sources.json @@ -9,9 +9,9 @@ }, "branch": "master", "submodules": false, - "revision": "1fa73bb2cc39e250eb01e511ae6ac83bfbf9f38c", - "url": "https://github.com/nix-community/home-manager/archive/1fa73bb2cc39e250eb01e511ae6ac83bfbf9f38c.tar.gz", - "hash": "06mz6f8b55x9hiyvbr8s77vmscyskqv00hv5zmcihdw5hhkrl8ls" + "revision": "13a1beb7c9962e0d2ba35a4d5c87546509b89b7d", + "url": "https://github.com/nix-community/home-manager/archive/13a1beb7c9962e0d2ba35a4d5c87546509b89b7d.tar.gz", + "hash": "0c5b1cfhg0h2fxxjkczvzc6lmavqm0zvnmcqqw786rdr9ij8frax" }, "nixgl": { "type": "Git", @@ -22,15 +22,15 @@ }, "branch": "main", "submodules": false, - "revision": "310f8e49a149e4c9ea52f1adf70cdc768ec53f8a", - "url": "https://github.com/guibou/nixGL/archive/310f8e49a149e4c9ea52f1adf70cdc768ec53f8a.tar.gz", - "hash": "1crnbv3mdx83xjwl2j63rwwl9qfgi2f1lr53zzjlby5lh50xjz4n" + "revision": "b6105297e6f0cd041670c3e8628394d4ee247ed5", + "url": "https://github.com/guibou/nixGL/archive/b6105297e6f0cd041670c3e8628394d4ee247ed5.tar.gz", + "hash": "1zv3bshk0l4hfh1s7s3jzwjxl0nqqcvc4a3kydd3d4lgh7651d3x" }, "nixpkgs": { "type": "Channel", "name": "nixos-unstable", - "url": "https://releases.nixos.org/nixos/unstable/nixos-25.11pre823481.3016b4b15d13/nixexprs.tar.xz", - "hash": "1ml7yaq7r15rfpx9vqh32bisc2w7kdsv6kmclnb2g113fbv6fd85" + "url": "https://releases.nixos.org/nixos/unstable/nixos-26.05pre942779.d6c719321308/nixexprs.tar.xz", + "hash": "1lr296971vfbgqfcvf4qzx0cs85ry0s61cwsg8ksxbpskmvim0rh" } }, "version": 5 diff --git a/rcfiles/neovim.lua b/rcfiles/neovim.lua index b7e1d51..2464ed4 100644 --- a/rcfiles/neovim.lua +++ b/rcfiles/neovim.lua @@ -75,23 +75,13 @@ vim.cmd([[ vim.lsp.enable('pylsp') vim.lsp.enable('jedi_language_server') --- Rust tools for Rust-specific LSP -local rt = require("rust-tools") -rt.setup({ - server = { - on_attach = function(_, bufnr) - -- ctrl + space for hover actions - vim.keymap.set("n", "", rt.hover_actions.hover_actions, { buffer = bufnr }) - -- ,a for code actions - vim.keymap.set("n", "a", rt.code_action_group.code_action_group, { buffer = bufnr }) - end, } }) -- set up treesitter -require('nvim-treesitter.configs').setup { +require('nvim-treesitter').setup { auto_install = false, - ident = { enable = true }, + ident = { enable = true }, rainbow = { enable = true, extended_mode = true, diff --git a/ssh.nix b/ssh.nix index 4d9d1f8..11264db 100644 --- a/ssh.nix +++ b/ssh.nix @@ -1,9 +1,16 @@ { config, pkgs, ... }: { programs.ssh = { + # NOTE: if issues arise, check out this option; we may need to set some + # of the default options again, manually. + enableDefaultConfig = false; enable = true; - addKeysToAgent = "yes"; - forwardAgent = true; + matchBlocks = { + "*" = { + addKeysToAgent = "yes"; + forwardAgent = true; + }; + }; }; services.ssh-agent.enable = true; diff --git a/vim.nix b/vim.nix index 315716a..650df03 100644 --- a/vim.nix +++ b/vim.nix @@ -4,11 +4,12 @@ enable = true; viAlias = true; vimAlias = true; + withPython3 = true; defaultEditor = true; plugins = with pkgs.vimPlugins; [ vim-nix rust-vim - rust-tools-nvim + rustaceanvim nvim-cmp snippets-nvim nvim-treesitter @@ -19,13 +20,14 @@ nvim-lspconfig nvim-lsputils fzf-vim - sleuth + vim-sleuth whitespace-nvim # ,t to trim whitespace vimsence vim-wordy #:Wordy [kind], :NoWordy vim-pencil #:Pencil, :NoPencil telescope-nvim + plenary-nvim ]; - extraLuaConfig = (builtins.readFile ./rcfiles/neovim.lua); + initLua = (builtins.readFile ./rcfiles/neovim.lua); }; }