CI / flake (pull_request) Successful in 2m51s
Rewrite editor.nix on programs.nixvim, keeping every prior feature: file tree (nvim-tree, toggle ,,), indent guides (indent-blankline), fugitive, vim-tmux-navigator, Catppuccin Mocha, 2-space hard tabs, and the *Jenkinsfile=groovy rule. Replace the inert ALE with a real LSP stack — nvim-lspconfig, nvim-cmp completion, and tree-sitter for highlighting. Leader is Space; LSP keymaps gd/gr/K/<leader>rn/<leader>ca. Universal servers: nil (Nix), lua_ls, pyright (Python), terraformls. The work box (work.nix) additionally enables omnisharp (C#) and helm_ls (Helm), so the heavy omnisharp closure stays off the personal machines. default.nix drops VISUAL=vim so nixvim's defaultEditor owns $EDITOR/$VISUAL. README and KEYBINDINGS updated (and two stale references corrected). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
65 lines
1.8 KiB
Nix
65 lines
1.8 KiB
Nix
# Home-manager module for the work (EDaaS/WSL) profile: corporate git signing,
|
|
# work toolchain packages and tmux tweaks. Imported only by the work host.
|
|
{ pkgs, lib, ... }:
|
|
|
|
{
|
|
# The work box keeps its own (corporate) ~/.ssh/config; don't let the personal
|
|
# programs.ssh (shell.nix) take it over. The ssh-agent below still runs.
|
|
programs.ssh.enable = lib.mkForce false;
|
|
|
|
programs.git = {
|
|
settings = {
|
|
commit.gpgsign = true;
|
|
tag.gpgsign = true;
|
|
gpg.format = "ssh";
|
|
user.signingkey = "key::ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAJMVgeRKnfX1G8coU3nAobI485aeUpGTMqH7+zbKI8o emma.thorpe@cloud.com";
|
|
user.email = "emma.thorpe@citrix.com";
|
|
};
|
|
};
|
|
home.packages = [
|
|
pkgs.kubectl
|
|
pkgs.argo-rollouts
|
|
pkgs.tenv
|
|
pkgs.kubernetes-helm
|
|
pkgs.azure-cli
|
|
pkgs.kubelogin
|
|
pkgs.curl
|
|
pkgs.notation
|
|
pkgs.powershell
|
|
pkgs.nuget
|
|
pkgs.gedit
|
|
pkgs.lens
|
|
pkgs.python3
|
|
pkgs.gnumake
|
|
pkgs.gcc
|
|
pkgs.libiconv
|
|
pkgs.autoconf
|
|
pkgs.automake
|
|
pkgs.pkg-config
|
|
pkgs.wget
|
|
pkgs.claude-code
|
|
pkgs.google-cloud-sdk
|
|
];
|
|
services.ssh-agent.enable = true;
|
|
home.shellAliases = {
|
|
docker = "/run/current-system/sw/bin/docker";
|
|
};
|
|
programs.tmux = {
|
|
extraConfig = ''
|
|
set -g status-right "#(/run/current-system/sw/bin/bash $HOME/code/kube-tmux/kube.tmux 250 red black)"
|
|
'';
|
|
};
|
|
programs.go = {
|
|
enable = true;
|
|
};
|
|
|
|
# LSP servers only relevant to work: C# (omnisharp) and Helm charts (helm_ls).
|
|
# The shared editor (lyrathorpe/home/editor.nix) carries the universal ones;
|
|
# these are gated to this host so the heavy omnisharp closure stays off the
|
|
# personal machines. Tree-sitter grammars (highlighting) remain global there.
|
|
programs.nixvim.plugins.lsp.servers = {
|
|
omnisharp.enable = true;
|
|
helm_ls.enable = true;
|
|
};
|
|
}
|