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