1

enforce enabled flatpak module when audio bottles is enabled

This commit is contained in:
2022-08-08 22:36:31 +02:00
parent 02b7e41aa4
commit 8e4fb97154

View File

@ -30,6 +30,12 @@ in {
};
config = mkIf cfg.enable {
assertions = [
(mkIf cfg.bottles.enable {
assertion = cfgfp.enable;
message = "Cannot enable bottles without the flatpak module!";
})
];
# Use builtins.concatLists instead of mkMerge as this is more safe as the type is specified,
# also mkMerge doesn't work in every case as it yields a set