format all code with alejandra

This commit is contained in:
Antoine Martin 2022-04-10 11:54:58 +02:00
parent fa0cda2673
commit 4f0d45e4d5
89 changed files with 1605 additions and 1298 deletions

View file

@ -1,17 +1,21 @@
{ config, lib, ... }:
let
inherit (lib)
{
config,
lib,
...
}: let
inherit
(lib)
mkIf
;
;
mediaServices = builtins.attrValues {
inherit (config.my.services)
inherit
(config.my.services)
jellyfin
transmission
;
;
};
needed = builtins.any (service: service.enable) mediaServices;
in
{
config.users.groups.media = mkIf needed { };
in {
config.users.groups.media = mkIf needed {};
}