greenhouse

kore

my public infrastructure monorepo

git clone [email protected]:kore.git

kore / home / profiles / gomphrena.nix31 lines · 821B · 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
10    ../features/misc/xdg.nix
11
12    ../features/secrets.nix
13  ];
14
15  # TMP: neovim suck tbh but it work
16  programs.neovim.extraConfig = ''
17    let g:clipboard = {
18      \   'name': 'WslClipboard',
19      \   'copy': {
20      \      '+': 'clip.exe',
21      \      '*': 'clip.exe',
22      \    },
23      \   'paste': {
24      \      '+': 'powershell.exe -NoLogo -NoProfile -c [Console]::Out.Write($(Get-Clipboard -Raw).tostring().replace("`r", ""))',
25      \      '*': 'powershell.exe -NoLogo -NoProfile -c [Console]::Out.Write($(Get-Clipboard -Raw).tostring().replace("`r", ""))',
26      \   },
27      \   'cache_enabled': 0,
28      \ }
29  '';
30}
31