1

remove unecessary mkIf

This commit is contained in:
2022-08-10 18:22:02 +02:00
parent a4a850b099
commit 9771ddf418

View File

@ -46,10 +46,10 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
assertions = [ assertions = [
(mkIf cfg.enable { {
assertion = nixosConfig.services.flatpak.enable; assertion = nixosConfig.services.flatpak.enable;
message = "Cannot use the flatpak module with flatpak disabled in nixos!"; message = "Cannot use the flatpak module with flatpak disabled in nixos!";
}) }
]; ];
# NOTE: Is already set by flatpak.enable in configuration.nix # NOTE: Is already set by flatpak.enable in configuration.nix