mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-07 21:45:59 +01:00
dev: move assertions out of hm module
This commit is contained in:
parent
7b869ad21e
commit
8302c441a3
1 changed files with 2 additions and 3 deletions
|
@ -45,8 +45,9 @@ in {
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home.packages = [set.neovim];
|
home.packages = [set.neovim];
|
||||||
|
};
|
||||||
|
|
||||||
assertions = mkMerge [
|
assertions = mkMerge [
|
||||||
mkIf
|
mkIf
|
||||||
(config.programs.neovim-flake.enable)
|
(config.programs.neovim-flake.enable)
|
||||||
{
|
{
|
||||||
|
@ -54,6 +55,4 @@ in {
|
||||||
message = "You cannot use neovim-flake together with vanilla neovim.";
|
message = "You cannot use neovim-flake together with vanilla neovim.";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue