users/foo-dogsquared/programs/nixvim: remove NixVim module import

This commit is contained in:
Gabriel Arazas 2025-04-17 16:20:04 +08:00
parent ec5871b524
commit b80180b5cf
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
2 changed files with 1 additions and 7 deletions

View File

@ -39,7 +39,6 @@
inputs.nur.modules.homeManager.default inputs.nur.modules.homeManager.default
inputs.sops-nix.homeManagerModules.sops inputs.sops-nix.homeManagerModules.sops
inputs.wrapper-manager-fds.homeModules.wrapper-manager inputs.wrapper-manager-fds.homeModules.wrapper-manager
inputs.nixvim.homeManagerModules.default
]; ];
deploy = { deploy = {
autoRollback = true; autoRollback = true;

View File

@ -16,15 +16,10 @@ let
}; };
in { in {
options.users.foo-dogsquared.programs.nixvim.enable = options.users.foo-dogsquared.programs.nixvim.enable =
lib.mkEnableOption "NixVim setup"; lib.mkEnableOption "editors made with NixVim";
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
# Basically, we're creating Neovim flavors with NixVim so no need for it. # Basically, we're creating Neovim flavors with NixVim so no need for it.
#
# Also another reason we're forcibly disabling that it is heavily assumed
# that it is using the Neovim configuration found from the dotfiles repo.
programs.nixvim.enable = lib.mkForce false;
wrapper-manager.packages.neovim-flavors = { wrapper-manager.packages.neovim-flavors = {
wrappers.nvim-fiesta.arg0 = let wrappers.nvim-fiesta.arg0 = let
nvimPkg = createNixvimFlavor { nvimPkg = createNixvimFlavor {