dev: move assertions out of hm module

This commit is contained in:
NotAShelf 2023-04-02 20:11:46 +03:00
parent 7b869ad21e
commit 8302c441a3
No known key found for this signature in database
GPG key ID: F0D14CCB5ED5AA22

View file

@ -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.";
} }
]; ];
};
} }