mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-26 05:34:54 +02:00
modules: use assertions module from nixpkgs
It is essentially identical to our `warnings` module.
This commit is contained in:
parent
d2afb176ff
commit
11df0d6c9e
3 changed files with 1 additions and 17 deletions
|
@ -15,6 +15,5 @@
|
||||||
./opts.nix
|
./opts.nix
|
||||||
./output.nix
|
./output.nix
|
||||||
./plugins.nix
|
./plugins.nix
|
||||||
./warnings.nix
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,7 @@ in
|
||||||
imports = [
|
imports = [
|
||||||
./nixpkgs.nix
|
./nixpkgs.nix
|
||||||
./nixvim-info.nix
|
./nixvim-info.nix
|
||||||
|
(nixosModules + "/misc/assertions.nix")
|
||||||
(nixosModules + "/misc/meta.nix")
|
(nixosModules + "/misc/meta.nix")
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
{ lib, ... }:
|
|
||||||
with lib;
|
|
||||||
{
|
|
||||||
options = {
|
|
||||||
warnings = mkOption {
|
|
||||||
type = types.listOf types.str;
|
|
||||||
visible = false;
|
|
||||||
default = [ ];
|
|
||||||
};
|
|
||||||
assertions = mkOption {
|
|
||||||
type = types.listOf types.attrs; # Not sure what the correct type is here
|
|
||||||
visible = false;
|
|
||||||
default = [ ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue