kore / home / profiles / gomphrena.nix33 lines · 882B · raw
1{ lib, ... }:
2
3{
4 imports = [
5 ../features/cli/pi.nix
6 ../features/cli/gpg.nix
7 ../features/cli/ssh.nix
8 ../features/cli/git.nix
9 ../features/cli/nvim.nix
10 ../features/cli/bash.nix
11 ../features/cli/tmux.nix
12
13 ../features/misc/xdg.nix
14 ];
15
16 # TMP: neovim suck tbh but it work
17 programs.neovim.extraConfig = ''
18 let g:clipboard = {
19 \ 'name': 'WslClipboard',
20 \ 'copy': {
21 \ '+': 'clip.exe',
22 \ '*': 'clip.exe',
23 \ },
24 \ 'paste': {
25 \ '+': 'powershell.exe -NoLogo -NoProfile -c [Console]::Out.Write($(Get-Clipboard -Raw).tostring().replace("`r", ""))',
26 \ '*': 'powershell.exe -NoLogo -NoProfile -c [Console]::Out.Write($(Get-Clipboard -Raw).tostring().replace("`r", ""))',
27 \ },
28 \ 'cache_enabled': 0,
29 \ }
30 '';
31
32 home.persistence."/persist" = lib.mkForce {};
33}