aboutsummaryrefslogtreecommitdiffstats
path: root/modules/by-name/nv
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-05-16 16:44:30 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-05-16 16:44:30 +0200
commita76847911c1975bf89e031154c7722d7919ef053 (patch)
tree630a0d1b43a6ed7a27029f1cddb3ada0eb28263f /modules/by-name/nv
parentflake: Pack arguments in attribute sets (diff)
downloadnixos-config-a76847911c1975bf89e031154c7722d7919ef053.zip
modules: Import external modules in the module that actually need them
Diffstat (limited to 'modules/by-name/nv')
-rw-r--r--modules/by-name/nv/nvim/module.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/by-name/nv/nvim/module.nix b/modules/by-name/nv/nvim/module.nix
index f394db3b..819646d6 100644
--- a/modules/by-name/nv/nvim/module.nix
+++ b/modules/by-name/nv/nvim/module.nix
@@ -11,6 +11,7 @@
pkgs,
lib,
config,
+ modules,
...
}: let
cfg = config.soispha.programs.nvim;
@@ -33,6 +34,10 @@ in {
config = lib.mkIf cfg.enable {
home-manager.users.soispha = {
+ imports = [
+ modules.nixvim.homeManagerModules.nixvim
+ ];
+
home.sessionVariables = {
EDITOR = "nvim";
VISUAL = "nvim";