somewhat minimal neovim config to match helix (incomplete)
This commit is contained in:
parent
bcfa8465bf
commit
c17f8d9d87
6 changed files with 197 additions and 22 deletions
|
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
config,
|
||||
hostType,
|
||||
lib,
|
||||
pkgs,
|
||||
|
|
@ -10,12 +9,6 @@
|
|||
config = lib.mkMerge [
|
||||
# Common configuration
|
||||
{
|
||||
home = {
|
||||
sessionVariables = {
|
||||
EDITOR = "hx";
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
bash = {
|
||||
enable = true;
|
||||
|
|
@ -45,6 +38,13 @@
|
|||
};
|
||||
};
|
||||
|
||||
nixvim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
enableMan = false;
|
||||
enablePrintInit = false;
|
||||
};
|
||||
|
||||
fish = {
|
||||
enable = true;
|
||||
functions.fish_greeting = "";
|
||||
|
|
@ -88,15 +88,7 @@
|
|||
|
||||
# Workstation specific configuration
|
||||
(lib.mkIf hostType.isWorkstation {
|
||||
programs.rio = {
|
||||
enable = true;
|
||||
settings = {
|
||||
window = {
|
||||
width = 1121;
|
||||
height = 633;
|
||||
};
|
||||
};
|
||||
};
|
||||
programs.nixvim.clipboard.providers.wl-copy.enable = true;
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,6 +30,17 @@
|
|||
];
|
||||
};
|
||||
|
||||
nixvim.plugins = {
|
||||
treesitter.enable = true;
|
||||
multicursors.enable = true;
|
||||
lspconfig.enable = true;
|
||||
cmp.enable = true;
|
||||
which-key.enable = true;
|
||||
telescope.enable = true;
|
||||
undotree.enable = true;
|
||||
web-devicons.enable = true;
|
||||
};
|
||||
|
||||
password-store.enable = true;
|
||||
|
||||
direnv = {
|
||||
|
|
@ -127,6 +138,16 @@
|
|||
pkgs.obs-studio-plugins.obs-pipewire-audio-capture
|
||||
];
|
||||
};
|
||||
|
||||
rio = {
|
||||
enable = true;
|
||||
settings = {
|
||||
window = {
|
||||
width = 1121;
|
||||
height = 633;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
})
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue