greenhouse

kore

my public infrastructure monorepo

git clone [email protected]:kore.git

kore / home / profiles / gomphrena.nix32 lines · 855B · raw

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