mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
wrappers: explicitly set _file
for wrapper modules
This won't be detected automatically, since the modules are all returned from function calls instead of being path references.
This commit is contained in:
parent
b3a90d737d
commit
a8f678da24
4 changed files with 8 additions and 0 deletions
|
@ -29,6 +29,8 @@ let
|
||||||
extraFiles = lib.filter (file: file.enable) (lib.attrValues cfg.extraFiles);
|
extraFiles = lib.filter (file: file.enable) (lib.attrValues cfg.extraFiles);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
_file = ./_shared.nix;
|
||||||
|
|
||||||
# TODO: Added 2024-07-24; remove after 24.11
|
# TODO: Added 2024-07-24; remove after 24.11
|
||||||
imports = [
|
imports = [
|
||||||
(lib.mkRenamedOptionModule
|
(lib.mkRenamedOptionModule
|
||||||
|
|
|
@ -28,6 +28,8 @@ let
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
_file = ./darwin.nix;
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
programs.nixvim = mkOption {
|
programs.nixvim = mkOption {
|
||||||
inherit (nixvimConfig) type;
|
inherit (nixvimConfig) type;
|
||||||
|
|
|
@ -27,6 +27,8 @@ let
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
_file = ./hm.nix;
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
programs.nixvim = mkOption {
|
programs.nixvim = mkOption {
|
||||||
inherit (nixvimConfig) type;
|
inherit (nixvimConfig) type;
|
||||||
|
|
|
@ -28,6 +28,8 @@ let
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
_file = ./nixos.nix;
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
programs.nixvim = mkOption {
|
programs.nixvim = mkOption {
|
||||||
inherit (nixvimConfig) type;
|
inherit (nixvimConfig) type;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue