greenhouse

kore

my public infrastructure monorepo

git clone [email protected]:kore.git

kore / home / profiles / gomphrena.nix33 lines · 886B · 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    ../features/cli/claude.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}