chore: update jellyfin module
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
7c7962a941
commit
9a19aee4d2
2 changed files with 63 additions and 66 deletions
|
@ -31,64 +31,74 @@ in {
|
|||
enable = true;
|
||||
|
||||
settings = {
|
||||
general = {
|
||||
system = {
|
||||
serverName = "Jelly";
|
||||
|
||||
quickConnectAvailable = false;
|
||||
isStartupWizardCompleted = true;
|
||||
|
||||
branding = let
|
||||
jellyTheme = pkgs.stdenv.mkDerivation {
|
||||
name = "Ultrachromic";
|
||||
src = jellyfin-ultrachromic-src;
|
||||
postInstall = "cp -ar $src $out";
|
||||
};
|
||||
|
||||
importFile = file: fileContents "${jellyTheme}/${file}";
|
||||
in {
|
||||
customCss = ''
|
||||
/* Base theme */
|
||||
${importFile "base.css"}
|
||||
${importFile "accentlist.css"}
|
||||
${importFile "fixes.css"}
|
||||
|
||||
${importFile "type/dark_withaccent.css"}
|
||||
|
||||
${importFile "rounding.css"}
|
||||
${importFile "progress/floating.css"}
|
||||
${importFile "titlepage/title_banner-logo.css"}
|
||||
${importFile "header/header_transparent.css"}
|
||||
${importFile "login/login_frame.css"}
|
||||
${importFile "fields/fields_border.css"}
|
||||
${importFile "cornerindicator/indicator_floating.css"}
|
||||
|
||||
/* Style backdrop */
|
||||
.backdropImage {filter: blur(18px) saturate(120%) contrast(120%) brightness(40%);}
|
||||
|
||||
/* Custom Settings */
|
||||
:root {--accent: 145,75,245;}
|
||||
:root {--rounding: 12px;}
|
||||
|
||||
/* https://github.com/CTalvio/Ultrachromic/issues/79 */
|
||||
.skinHeader {
|
||||
color: rgba(var(--accent), 0.8);;
|
||||
}
|
||||
.countIndicator,
|
||||
.fullSyncIndicator,
|
||||
.mediaSourceIndicator,
|
||||
.playedIndicator {
|
||||
background-color: rgba(var(--accent), 0.8);
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
libraries.display = {
|
||||
enableGroupingIntoCollections = true;
|
||||
enableExternalContentInSuggestions = false;
|
||||
|
||||
pluginRepositories = [
|
||||
{
|
||||
name = "Jellyfin Stable";
|
||||
url = "https://repo.jellyfin.org/releases/plugin/manifest-stable.json";
|
||||
}
|
||||
{
|
||||
name = "Intro Skipper";
|
||||
url = "https://raw.githubusercontent.com/jumoog/intro-skipper/master/manifest.json";
|
||||
}
|
||||
];
|
||||
|
||||
enableSlowResponseWarning = false;
|
||||
};
|
||||
|
||||
playback.transcoding = {
|
||||
branding = let
|
||||
jellyTheme = pkgs.stdenv.mkDerivation {
|
||||
name = "Ultrachromic";
|
||||
src = jellyfin-ultrachromic-src;
|
||||
postInstall = "cp -ar $src $out";
|
||||
};
|
||||
|
||||
importFile = file: fileContents "${jellyTheme}/${file}";
|
||||
in {
|
||||
customCss = ''
|
||||
/* Base theme */
|
||||
${importFile "base.css"}
|
||||
${importFile "accentlist.css"}
|
||||
${importFile "fixes.css"}
|
||||
|
||||
${importFile "type/dark_withaccent.css"}
|
||||
|
||||
${importFile "rounding.css"}
|
||||
${importFile "progress/floating.css"}
|
||||
${importFile "titlepage/title_banner-logo.css"}
|
||||
${importFile "header/header_transparent.css"}
|
||||
${importFile "login/login_frame.css"}
|
||||
${importFile "fields/fields_border.css"}
|
||||
${importFile "cornerindicator/indicator_floating.css"}
|
||||
|
||||
/* Style backdrop */
|
||||
.backdropImage {filter: blur(18px) saturate(120%) contrast(120%) brightness(40%);}
|
||||
|
||||
/* Custom Settings */
|
||||
:root {--accent: 145,75,245;}
|
||||
:root {--rounding: 12px;}
|
||||
|
||||
/* https://github.com/CTalvio/Ultrachromic/issues/79 */
|
||||
.skinHeader {
|
||||
color: rgba(var(--accent), 0.8);;
|
||||
}
|
||||
.countIndicator,
|
||||
.fullSyncIndicator,
|
||||
.mediaSourceIndicator,
|
||||
.playedIndicator {
|
||||
background-color: rgba(var(--accent), 0.8);
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
encoding = {
|
||||
hardwareAccelerationType = "nvenc";
|
||||
hardwareDecodingCodecs = [
|
||||
"h264"
|
||||
|
@ -104,19 +114,6 @@ in {
|
|||
enableTonemapping = true;
|
||||
downMixAudioBoost = 1;
|
||||
};
|
||||
|
||||
plugins.pluginRepositories = [
|
||||
{
|
||||
name = "Jellyfin Stable";
|
||||
url = "https://repo.jellyfin.org/releases/plugin/manifest-stable.json";
|
||||
}
|
||||
{
|
||||
name = "Intro Skipper";
|
||||
url = "https://raw.githubusercontent.com/jumoog/intro-skipper/master/manifest.json";
|
||||
}
|
||||
];
|
||||
|
||||
advanced.logs.enableSlowResponseWarning = false;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
6
flake.lock
generated
6
flake.lock
generated
|
@ -657,11 +657,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1709661015,
|
||||
"narHash": "sha256-HXMinV0JohS1hg5FzYhcM9oyAbCqboJ5DJNqDqggOEE=",
|
||||
"lastModified": 1709785905,
|
||||
"narHash": "sha256-RUI/to18Mx76ocQmmKAlrbRSN+/sewNt+fdp9iDYWGM=",
|
||||
"owner": "matt1432",
|
||||
"repo": "nixos-jellyfin",
|
||||
"rev": "9fe8adc89a0c95e233a62153f8b4c4f3982ba9fb",
|
||||
"rev": "50274dcec43e2179d6cbf1e045eea5354e6af606",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
Loading…
Add table
Reference in a new issue