Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Use ghostty for sway, don't break inc/dec, ts/js lsp

+8 -16
+2
default-home.nix
··· 105 105 unstable.gleam 106 106 unstable.rebar3 107 107 unstable.bun 108 + unstable.typescript-language-server 109 + unstable.vscode-langservers-extracted 108 110 unstable.gh 109 111 unstable.kraft 110 112 inputs.claude-code.packages.${system}.claude-code-bun
+5 -15
nvim/lua/plugins.lua
··· 367 367 local opencode = require("opencode") 368 368 vim.o.autoread = true 369 369 -- Recommended/example keymaps. 370 - vim.keymap.set({ "n", "x" }, "<C-a>", function() 370 + vim.keymap.set({ "n", "x" }, "<leader>ih", function() 371 371 opencode.ask("@this: ", { submit = true }) 372 372 end, { desc = "Ask opencode…" }) 373 - vim.keymap.set({ "n", "x" }, "<C-x>", 373 + vim.keymap.set({ "n", "x" }, "<leader>ix", 374 374 function() opencode.select() end, 375 375 { desc = "Execute opencode action…" }) 376 - vim.keymap.set({ "n", "t" }, "<C-.>", 376 + vim.keymap.set({ "n", "t" }, "<leader>it", 377 377 function() opencode.toggle() end, 378 378 { desc = "Toggle opencode" }) 379 379 380 - vim.keymap.set({ "n", "x" }, "go", function() 380 + vim.keymap.set({ "n", "x" }, "<leader>igg", function() 381 381 return opencode.operator("@this ") 382 382 end, { desc = "Add range to opencode", expr = true }) 383 - vim.keymap.set("n", "goo", function() 383 + vim.keymap.set("n", "<leader>igo", function() 384 384 return opencode.operator("@this ") .. "_" 385 385 end, { desc = "Add line to opencode", expr = true }) 386 386 ··· 390 390 vim.keymap.set("n", "<S-C-d>", function() 391 391 opencode.command("session.half.page.down") 392 392 end, { desc = "Scroll opencode down" }) 393 - 394 - -- You may want these if you stick with the opinionated "<C-a>" and "<C-x>" above — otherwise consider "<leader>o…". 395 - vim.keymap.set("n", "+", "<C-a>", { 396 - desc = "Increment under cursor", 397 - noremap = true 398 - }) 399 - vim.keymap.set("n", "-", "<C-x>", { 400 - desc = "Decrement under cursor", 401 - noremap = true 402 - }) 403 393 end 404 394 } 405 395 }
+1 -1
sway/config
··· 14 14 set $right l 15 15 16 16 # Your preferred terminal emulator 17 - set $term kitty 17 + set $term ghostty 18 18 # Your preferred application launcher 19 19 # Note: it's recommended that you pass the final command to sway 20 20 #set $menu dmenu_path | dmenu | xargs swaymsg exec --