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