mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 18:04:41 +02:00
treewide: fmt
This commit is contained in:
parent
330abe53d2
commit
ea37c7b836
95 changed files with 1162 additions and 779 deletions
|
@ -1,5 +1,10 @@
|
|||
# The Free Software Media System
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.my.services.jellyfin;
|
||||
inherit (config.networking) domain;
|
||||
|
@ -8,10 +13,7 @@ let
|
|||
jellyfin-with-metrics = pkgs.jellyfin.overrideAttrs (attrs: {
|
||||
patches =
|
||||
let
|
||||
existingPatches =
|
||||
if attrs ? patches && builtins.isList attrs.patches
|
||||
then attrs.patches
|
||||
else [ ];
|
||||
existingPatches = if attrs ? patches && builtins.isList attrs.patches then attrs.patches else [ ];
|
||||
in
|
||||
# with this patch the default setting for metrics is changed
|
||||
existingPatches ++ [ ./enable-metrics.patch ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue