greenhouse

kore

my public infrastructure monorepo

git clone [email protected]:kore.git

kore / home / profiles / sunflower.nix29 lines · 822B · raw

1{
2  imports = [
3    ../features/cli/gpg.nix
4    ../features/cli/ssh.nix
5    ../features/cli/git.nix
6    ../features/cli/nvim.nix
7    ../features/cli/bash.nix
8    ../features/cli/tmux.nix
9    ../features/cli/claude.nix
10
11    ../features/misc/xdg.nix
12  ];
13
14  # TMP: neovim suck tbh but it work
15  programs.neovim.extraConfig = ''
16    let g:clipboard = {
17      \   'name': 'WslClipboard',
18      \   'copy': {
19      \      '+': 'clip.exe',
20      \      '*': 'clip.exe',
21      \    },
22      \   'paste': {
23      \      '+': 'powershell.exe -NoLogo -NoProfile -c [Console]::Out.Write($(Get-Clipboard -Raw).tostring().replace("`r", ""))',
24      \      '*': 'powershell.exe -NoLogo -NoProfile -c [Console]::Out.Write($(Get-Clipboard -Raw).tostring().replace("`r", ""))',
25      \   },
26      \   'cache_enabled': 0,
27      \ }
28  '';
29}