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.

Fix various packages, add vis config

+63 -1
+13 -1
noah-home.nix
··· 19 19 tree 20 20 btop 21 21 htop 22 + mtr 22 23 pavucontrol 24 + moreutils 23 25 rsync 24 26 unzip 25 27 fd 26 28 ripgrep 27 - catgirl 28 29 netcat 29 30 stunnel 30 31 fzf ··· 35 36 nkeys 36 37 mkcert 37 38 lf 39 + jq 40 + bat 41 + sqlite 42 + age 43 + just 44 + unstable.catgirl 38 45 39 46 # Dev tools 40 47 git ··· 170 177 171 178 xdg.configFile.i3status = { 172 179 source = ./i3status; 180 + recursive = true; 181 + }; 182 + 183 + xdg.configFile.vis = { 184 + source = ./vis; 173 185 recursive = true; 174 186 }; 175 187
+50
vis/visrc.lua
··· 1 + require('vis') 2 + 3 + local plug = require('plugins/vis-plug') 4 + 5 + local plugins = { 6 + { 'timoha/vis-acme', theme = true, file = 'acme' }, 7 + { 'milhnl/vis-format' }, 8 + { url = 'https://git.cepl.eu/cgit/vis/vis-fzf-open' }, 9 + { url = 'https://gitlab.com/muhq/vis-lspc.git' }, 10 + { url = 'https://repo.or.cz/vis-parkour.git', alias = 'vis-parkour' } 11 + } 12 + 13 + plug.init(plugins, true) 14 + 15 + 16 + 17 + 18 + 19 + 20 + vis.events.subscribe(vis.events.INIT, function() 21 + local format = require('plugins/vis-format') 22 + vis:map(vis.modes.NORMAL, '<C-p>', ':fzf<Enter>') 23 + vis:map(vis.modes.NORMAL, '=', format.apply) 24 + local lspc = require('plugins/vis-lspc') 25 + if next(lspc) then 26 + lspc.logging = true 27 + lspc.log_file = "/tmp/lspc.log" 28 + 29 + lspc.ls_map.rust = { 30 + name = "rust", 31 + cmd = "rust-analyzer", 32 + formatting_options = {tabSize = 4, insertSpaces = true} 33 + } 34 + end 35 + end) 36 + 37 + 38 + vis.events.subscribe(vis.events.WIN_OPEN, function(win) 39 + --per-window configuration-- 40 + --vis:command('set number') 41 + vis:command('set showtab on') 42 + vis:command('set showspace on') 43 + vis:command('set autoindent on') 44 + vis:command('set cursorline on') 45 + vis:command('set tabwidth 4') 46 + end) 47 + 48 + 49 + 50 +