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