remove unecessary mkIf
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user