Compare commits

..
6 Commits
Author SHA1 Message Date
emmatherock f2b6e843eb chore(nixvim): preserve branch-specific setup 2026-09-21 08:46:37 -03:00
emmatherockandClaude Sonnet 5 09b138391b feat(vps): add wireguard peer 10.20.0.3
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-07 22:55:53 -03:00
emmatherock 0aa0cc0e0d feat(neovim): add OSC 52 clipboard support for SSH sessions
Lets "+y/"+p sync with the system clipboard over SSH (Termius -> VPS/homelab)
without relying on a local clipboard provider.
2026-09-05 20:01:42 -03:00
emmatherock 5d9cd9d835 feat(neovim): add snippets, autopairs and surround 2026-09-04 20:51:47 -03:00
emmatherockandClaude Sonnet 5 656fc82d7f feat(neovim): add Dockerfile/Compose LSP and treesitter support
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-04 18:06:36 -03:00
emmatherockandClaude Sonnet 5 f37b4db130 chore(flake): update flake.lock inputs
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018myBNc8EqfqaQmYrKdkxVM
2026-09-03 21:55:35 -03:00
5 changed files with 115 additions and 38 deletions

No files matched your search

Generated
+47 -32
View File
@@ -96,15 +96,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1784665499, "lastModified": 1788011267,
"narHash": "sha256-9BMxlTxCCDAeoNLtb1a/st7udtTIJep+wpUzquA29VU=", "narHash": "sha256-mEq2kU+ljompTToZ44Afvm7d/rHJ5iMBl0tjZuyShJs=",
"owner": "nix-community", "owner": "Mic92",
"repo": "bun2nix", "repo": "bun2nix",
"rev": "0f2a1f0b6f42cebe3b149bf62d38754c5e0e9729", "rev": "5765b0614591f75ee8ba5596e81ae85c167d1071",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "Mic92",
"ref": "fix-structured-attrs-hook",
"repo": "bun2nix", "repo": "bun2nix",
"type": "github" "type": "github"
} }
@@ -161,11 +162,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1787559586, "lastModified": 1788450739,
"narHash": "sha256-onL0VLf9vPllmT0H/OlURIU5r5t5WIEl7t4tVNKT0Nw=", "narHash": "sha256-glZLQlzIn1fXH6PazR2iUmTo7kzzyYSshrWhLS9TqCU=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "9d0d87172c374f89da73c1cfe6d81ae62feac1f1", "rev": "31729ca8cbdb4fa927b34e5f4353e6a83f39e993",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -241,11 +242,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1787797243, "lastModified": 1788458226,
"narHash": "sha256-8+Q7NOB7RPajRjA4pbCDLzqH+MTjnG9x6LUPLfL2joA=", "narHash": "sha256-UZTAlg8iKVEmyEXakzKmukrzFIKrXezYsRy9vajDrGw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "99c9ec63390f1d8c14d95d9e8b17cc29cfbd4e11", "rev": "aa308770461dcf22c333a5e8a31c8bddbde5bee9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -263,11 +264,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1788012048, "lastModified": 1788481344,
"narHash": "sha256-Ja0btchPlXVw5XVEIe5N8DhNZJE8LKiBG1x0jZcNjTU=", "narHash": "sha256-3jEfPEkegrp3ps+VuNT0i+kI4hhfDKoSICoUzZrXDOE=",
"owner": "numtide", "owner": "numtide",
"repo": "llm-agents.nix", "repo": "llm-agents.nix",
"rev": "952d31f9337df4799f22aa067d1075822d024ecc", "rev": "496d8f2d508dcd4673a1480cd58b3e9bf3400c15",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -297,11 +298,11 @@
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_3"
}, },
"locked": { "locked": {
"lastModified": 1787985973, "lastModified": 1788408011,
"narHash": "sha256-6YafqgJETEUfhFaKx3zvinjq1WDz8fy/PnEVtw7YmaU=", "narHash": "sha256-VErLyHIT3U4x64a2G6J6wplB4yDPIpMXlhUpBjUMNEE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nix-vscode-extensions", "repo": "nix-vscode-extensions",
"rev": "fdeb8646a1f9e5f0db80dd05e9db54ab7687378e", "rev": "f848614222a7ef023998450a6f6773e10f8adf83",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -343,11 +344,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1787424095, "lastModified": 1788372231,
"narHash": "sha256-dWLO5AHhKaw6rdWCtTes8hnntT1r0/J5yhQGm0f0ZgU=", "narHash": "sha256-7aqErvrAEz/5OcPA5p3M+tVOqeYc4oJXkNIPXfCqxAw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "174eb786fb68e3a13e4e535a3deea479a0c07a6a", "rev": "9387b3fcc0c23c86661636da63faabad4235a0a6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -375,11 +376,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1787736819, "lastModified": 1788316716,
"narHash": "sha256-cV5xEJJK3BvhU8rEd4mC9UsmDi5qscv/kzGPhBRC5WA=", "narHash": "sha256-bc7rSpXIdn9QWGNqfWcPZWOhEVF8NoeAZkWq0XWnf/k=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9fbb54b33e91ee4ca368e35a78e0613c720600b3", "rev": "3ed67ec0a4d3c7ab4ae1f04f8ee8df07bfa506a2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -389,20 +390,34 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_5": {
"locked": {
"lastModified": 1789844176,
"narHash": "sha256-COQmpo4lFIzMgUjr3ntDpjH0NwrCnf7N0uhR+6WPGP8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "79b35bf0bda5cd110f856aa5b5b2c5ba4460dbf5",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixvim": { "nixvim": {
"inputs": { "inputs": {
"flake-parts": "flake-parts_2", "flake-parts": "flake-parts_2",
"nixpkgs": [ "nixpkgs": "nixpkgs_5",
"nixpkgs"
],
"systems": "systems_3" "systems": "systems_3"
}, },
"locked": { "locked": {
"lastModified": 1787862710, "lastModified": 1788190018,
"narHash": "sha256-dL1Tv7LekaTWUJxHRckjbupWczDdc3QOgRuVCM+WAvQ=", "narHash": "sha256-59BAfH0txPAZrPBF4QJqwvUWppD+ICrcjA1LZAmPnrQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "8c096abcf376137527c134da4ee210332b08ccc0", "rev": "41844750e55f17b1385d5b09ca7ade5f11f49506",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -552,11 +567,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1787786351, "lastModified": 1788475513,
"narHash": "sha256-IdcF4NFQORtS2FJ7aXYDod204+WQS8ymmdqiqbUMlMY=", "narHash": "sha256-JRZ3eQpeeExv3mR1icbZAjToe7MPm8XleJML0UsrAHg=",
"owner": "wimpysworld", "owner": "wimpysworld",
"repo": "sidra", "repo": "sidra",
"rev": "126a06eb4d3ba1c19ada5ca1a8c4869b37db574a", "rev": "257dce10bd6805633d99e5cdae6897d014619dcc",
"type": "github" "type": "github"
}, },
"original": { "original": {
+1 -4
View File
@@ -21,10 +21,7 @@
url = "github:gmodena/nix-flatpak/?ref=latest"; url = "github:gmodena/nix-flatpak/?ref=latest";
}; };
vscode-server.url = "github:nix-community/nixos-vscode-server"; vscode-server.url = "github:nix-community/nixos-vscode-server";
nixvim = { nixvim.url = "github:nix-community/nixvim";
url = "github:nix-community/nixvim";
inputs.nixpkgs.follows = "nixpkgs";
};
llm-agents.url = "github:numtide/llm-agents.nix"; llm-agents.url = "github:numtide/llm-agents.nix";
nix-vscode-extensions.url = "github:nix-community/nix-vscode-extensions"; nix-vscode-extensions.url = "github:nix-community/nix-vscode-extensions";
agenix = { agenix = {
+62 -1
View File
@@ -16,6 +16,24 @@
globals.mapleader = " "; globals.mapleader = " ";
# --- System clipboard over OSC 52, so "+y / "+p work over SSH
# (Termius -> VPS/homelab) without a local clipboard provider.
# Requires Neovim 0.10+ for vim.ui.clipboard.osc52; confirmed
# present (Neovim 0.12.5 on the pinned nixpkgs as of 2026-09).
extraConfigLua = ''
vim.g.clipboard = {
name = "OSC 52",
copy = {
["+"] = require("vim.ui.clipboard.osc52").copy("+"),
["*"] = require("vim.ui.clipboard.osc52").copy("*"),
},
paste = {
["+"] = require("vim.ui.clipboard.osc52").paste("+"),
["*"] = require("vim.ui.clipboard.osc52").paste("*"),
},
}
'';
opts = { opts = {
number = true; number = true;
relativenumber = true; relativenumber = true;
@@ -45,7 +63,7 @@
settings.ensure_installed = [ settings.ensure_installed = [
"nix" "bash" "lua" "markdown" "json" "yaml" "nix" "bash" "lua" "markdown" "json" "yaml"
"rust" "go" "gomod" "c" "cpp" "c_sharp" "python" "rust" "go" "gomod" "c" "cpp" "c_sharp" "python"
"javascript" "typescript" "tsx" "vue" "html" "css" "javascript" "typescript" "tsx" "vue" "html" "css" "dockerfile"
]; ];
}; };
@@ -70,6 +88,8 @@
cssls.enable = true; cssls.enable = true;
tailwindcss.enable = true; tailwindcss.enable = true;
jsonls.enable = true; jsonls.enable = true;
dockerls.enable = true;
docker_compose_language_service.enable = true;
}; };
keymaps.lspBuf = { keymaps.lspBuf = {
"gd" = "definition"; "gd" = "definition";
@@ -85,14 +105,55 @@
enable = true; enable = true;
settings.sources = [ settings.sources = [
{ name = "nvim_lsp"; } { name = "nvim_lsp"; }
{ name = "luasnip"; }
{ name = "path"; } { name = "path"; }
{ name = "buffer"; } { name = "buffer"; }
]; ];
settings.snippet.expand = ''
function(args)
require("luasnip").lsp_expand(args.body)
end
'';
settings.mapping = {
"<Tab>" = ''
cmp.mapping(function(fallback)
if cmp.visible() then
cmp.select_next_item()
elseif require("luasnip").expand_or_jumpable() then
require("luasnip").expand_or_jump()
else
fallback()
end
end, { "i", "s" })
'';
"<S-Tab>" = ''
cmp.mapping(function(fallback)
if cmp.visible() then
cmp.select_prev_item()
elseif require("luasnip").jumpable(-1) then
require("luasnip").jump(-1)
else
fallback()
end
end, { "i", "s" })
'';
};
}; };
plugins.cmp-nvim-lsp.enable = true; plugins.cmp-nvim-lsp.enable = true;
plugins.cmp_luasnip.enable = true;
plugins.cmp-path.enable = true; plugins.cmp-path.enable = true;
plugins.cmp-buffer.enable = true; plugins.cmp-buffer.enable = true;
# --- Snippets ---
plugins.luasnip = {
enable = true;
fromVscode = [ { paths = "${pkgs.vimPlugins.friendly-snippets}"; } ];
};
# --- Pairs and surrounding text ---
plugins.nvim-autopairs.enable = true;
plugins.nvim-surround.enable = true;
# --- Format on save --- # --- Format on save ---
plugins.conform-nvim = { plugins.conform-nvim = {
enable = true; enable = true;
+1 -1
View File
@@ -28,7 +28,7 @@
../../home/emmatherock/deskflow.nix ../../home/emmatherock/deskflow.nix
../../home/emmatherock/gaming.nix ../../home/emmatherock/gaming.nix
../../home/emmatherock/media.nix ../../home/emmatherock/media.nix
../../home/emmatherock/neovim.nix #../../home/emmatherock/neovim.nix
../../home/emmatherock/packages.nix ../../home/emmatherock/packages.nix
../../home/emmatherock/plasma.nix ../../home/emmatherock/plasma.nix
../../home/emmatherock/vscode.nix ../../home/emmatherock/vscode.nix
+4
View File
@@ -42,6 +42,10 @@
publicKey = "bqxDHQNxOSFpTo3We9ujC2WljtaRBgiNEewW+Rlu10k="; publicKey = "bqxDHQNxOSFpTo3We9ujC2WljtaRBgiNEewW+Rlu10k=";
allowedIPs = [ "10.20.0.2/32" ]; allowedIPs = [ "10.20.0.2/32" ];
} }
{
publicKey = "6aw0w7v9uFGvLn/eSdf7z/ljvzz4kviYlSOSj0LKp1E=";
allowedIPs = [ "10.20.0.3/32" ];
}
]; ];
}; };
}; };