flake-parts/setups: change priority for enabling NixVim instance

This commit is contained in:
Gabriel Arazas 2024-02-07 08:02:04 +08:00
parent cad1db257f
commit c3d39ae71b
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ let
];
config.programs.nixvim = { ... }: {
enable = true;
enable = lib.mkDefault true;
imports =
partsConfig.setups.nixvim.configs.${config.nixvim.instance}.modules
++ partsConfig.setups.nixvim.sharedModules

View File

@ -402,7 +402,7 @@ let
imports = [ inputs.nixvim.nixosModules.nixvim ];
programs.nixvim = { ... }: {
enable = true;
enable = lib.mkDefault true;
imports =
partsConfig.setups.nixvim.${config.nixvim.instance}.modules
++ partsConfig.setups.nixvim.sharedModules