diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-05-16 16:44:30 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-05-16 16:44:30 +0200 |
commit | a76847911c1975bf89e031154c7722d7919ef053 (patch) | |
tree | 630a0d1b43a6ed7a27029f1cddb3ada0eb28263f /modules/by-name/nv/nvim/module.nix | |
parent | flake: Pack arguments in attribute sets (diff) | |
download | nixos-config-a76847911c1975bf89e031154c7722d7919ef053.zip |
modules: Import external modules in the module that actually need them
Diffstat (limited to '')
-rw-r--r-- | modules/by-name/nv/nvim/module.nix | 5 |
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"; |