mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
modules/output: refactor wrapRc
default
Set default to `true`, with a low priority. Home-manager's wrapper sets its own default using `mkOptionDefault`. Clarify using `defaultText`.
This commit is contained in:
parent
a8f678da24
commit
fb7cda2868
6 changed files with 32 additions and 31 deletions
|
@ -22,6 +22,13 @@ let
|
|||
};
|
||||
modules = [
|
||||
./modules/hm.nix
|
||||
# FIXME: this can't go in ./modules/hm.nix because we eval that module in the docs _without_ nixvim's modules
|
||||
{
|
||||
_file = ./hm.nix;
|
||||
config = {
|
||||
wrapRc = lib.mkOptionDefault false;
|
||||
};
|
||||
}
|
||||
];
|
||||
check = false;
|
||||
};
|
||||
|
|
|
@ -1,8 +1,3 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
imports = [ ./enable.nix ];
|
||||
|
||||
config = {
|
||||
wrapRc = lib.mkForce true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -5,8 +5,4 @@
|
|||
};
|
||||
|
||||
imports = [ ./enable.nix ];
|
||||
|
||||
config = {
|
||||
wrapRc = lib.mkForce true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
config = {
|
||||
wrapRc = lib.mkForce true;
|
||||
};
|
||||
}
|
|
@ -18,7 +18,6 @@ let
|
|||
nixvimConfig = evalNixvim {
|
||||
modules = [
|
||||
mod
|
||||
./modules/standalone.nix
|
||||
];
|
||||
extraSpecialArgs = {
|
||||
defaultPkgs = pkgs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue