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