From acfef00f7d2b705ed7b606ba2cc29e934c1f9372 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Mon, 21 Jul 2025 18:50:51 +0000 Subject: [PATCH] Remove old neovim module I'm now using nixvim, which is very powerful, and I'm already using it to do far more comprehensive things. --- modules/home/neovim.nix | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 modules/home/neovim.nix diff --git a/modules/home/neovim.nix b/modules/home/neovim.nix deleted file mode 100644 index a4f2ffc..0000000 --- a/modules/home/neovim.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ config, lib, pkgs, configFiles, ... }: - -with lib; - -{ - options.myModules.home.neovim = { - enable = mkEnableOption "custom neovim configuration"; - user = mkOption { - type = types.str; - description = "Username for user-specific config"; - }; - }; - - config = mkIf config.myModules.home.neovim.enable ( - let - userConfigPath = "${configFiles}/users/${config.myModules.home.neovim.user}/nvim"; - sharedConfigPath = "${configFiles}/shared/nvim"; - - # Use user-specific config if it exists, otherwise fall back to shared - configPath = if builtins.pathExists (configFiles + "/users/${config.myModules.home.neovim.user}/nvim") - then userConfigPath - else sharedConfigPath; - in { - programs.neovim.enable = true; - - # Use the correct Home Manager option - home.file.".config/nvim" = { - source = configPath; - recursive = true; - }; - } - ); -}