summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2025-11-11 00:23:29 +0100
committeradikro <adikro@disroot.org>2025-11-11 00:23:29 +0100
commit07cc258498d598a687e228995be5f40fd6a249a1 (patch)
tree5784cf91ff3fe91b8f9b8d8d66102f023b65aa3c
parent9e89a97d16d5cc697c3f1d9b2572609d9755c133 (diff)
added nixvim basics
-rw-r--r--home/editors/nixvim.nix26
-rw-r--r--hosts/desktop/configuration.nix6
2 files changed, 27 insertions, 5 deletions
diff --git a/home/editors/nixvim.nix b/home/editors/nixvim.nix
index 48792a0..2835e1e 100644
--- a/home/editors/nixvim.nix
+++ b/home/editors/nixvim.nix
@@ -1,12 +1,34 @@
{ inputs, pkgs, ... }:
{
imports = [ inputs.nixvim.homeModules.nixvim ];
+
programs.nixvim = {
enable = true;
package = inputs.neovim-nightly-overlay.packages.${pkgs.stdenv.hostPlatform.system}.default;
- extraPlugins = [ pkgs.vimPlugins.gruvbox ];
- colorscheme = "gruvbox";
+
viAlias = true;
vimAlias = true;
+ waylandSupport = true;
+ colorschemes.gruvbox.enable = true;
+
+ plugins = {
+ lualine.enable = true;
+ nvim-autopairs.enable = true;
+ nix.enable = true;
+ treesitter.enable = true;
+ lsp = {
+ enable = true;
+ servers = {
+ nil_ls.enable = true;
+ clangd.enable = true;
+ };
+ };
+ };
+
+ opts = {
+ number = true;
+ relativenumber = true;
+ shiftwidth = 2;
+ };
};
}
diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix
index ad49e90..14adc7c 100644
--- a/hosts/desktop/configuration.nix
+++ b/hosts/desktop/configuration.nix
@@ -2,7 +2,7 @@
{
nixpkgs.config.allowUnfree = true;
-
+
imports =
[
./hardware-configuration.nix
@@ -122,6 +122,8 @@ programs.fish.enable = true;
};
environment.systemPackages = with pkgs; [
+ wineWowPackages.waylandFull
+ winetricks
vim
lan-mouse_git
tuigreet
@@ -141,9 +143,7 @@ programs.fish.enable = true;
nvd
rivalcfg
easyeffects
- wineWowPackages.stagingFull
lutris
- winetricks
nix-tree
];