nixos/flatpak: format with nixfmt

Seth Flynn 04cb1b16 ae96b319

Changed files
+12 -4
nixos
modules
services
desktops
+12 -4
nixos/modules/services/desktops/flatpak.nix
···
# flatpak service.
-
{ config, lib, pkgs, ... }:
+
{
+
config,
+
lib,
+
pkgs,
+
...
+
}:
+
let
cfg = config.services.flatpak;
-
in {
+
in
+
+
{
meta = {
doc = ./flatpak.md;
maintainers = pkgs.flatpak.meta.maintainers;
···
};
};
-
###### implementation
config = lib.mkIf cfg.enable {
assertions = [
-
{ assertion = (config.xdg.portal.enable == true);
+
{
+
assertion = (config.xdg.portal.enable == true);
message = "To use Flatpak you must enable XDG Desktop Portals with xdg.portal.enable.";
}
];