From c3d39ae71b9446cdaa95e7b388361887cf5fefbd Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 7 Feb 2024 08:02:04 +0800 Subject: [PATCH] flake-parts/setups: change priority for enabling NixVim instance --- modules/flake-parts/setups/home-manager.nix | 2 +- modules/flake-parts/setups/nixos.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/flake-parts/setups/home-manager.nix b/modules/flake-parts/setups/home-manager.nix index 93da8d2b..0ef5509d 100644 --- a/modules/flake-parts/setups/home-manager.nix +++ b/modules/flake-parts/setups/home-manager.nix @@ -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 diff --git a/modules/flake-parts/setups/nixos.nix b/modules/flake-parts/setups/nixos.nix index b3d1e60b..a8542ed0 100644 --- a/modules/flake-parts/setups/nixos.nix +++ b/modules/flake-parts/setups/nixos.nix @@ -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