From 07cc258498d598a687e228995be5f40fd6a249a1 Mon Sep 17 00:00:00 2001 From: adikro Date: Tue, 11 Nov 2025 00:23:29 +0100 Subject: added nixvim basics --- home/editors/nixvim.nix | 26 ++++++++++++++++++++++++-- hosts/desktop/configuration.nix | 6 +++--- 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 ]; -- cgit v1.3