dev: relocate assertions to modules

This commit is contained in:
NotAShelf 2023-04-05 02:13:12 +03:00
parent f22a06aa11
commit ab4026d49e
No known key found for this signature in database
GPG key ID: F0D14CCB5ED5AA22

View file

@ -1,5 +1,4 @@
{ {
pkgs,
config, config,
lib, lib,
... ...
@ -10,7 +9,7 @@ in {
assertions = mkMerge [ assertions = mkMerge [
{ {
assertion = cfg.kommentary.enable; assertion = cfg.kommentary.enable;
message = "Kommentary has been deprecated in favor"; message = "Kommentary has been deprecated in favor of comments-nvim";
} }
mkIf mkIf
(config.programs.neovim-flake.enable) (config.programs.neovim-flake.enable)