removed jellyfin config to flake

This commit is contained in:
batvin321 2025-01-30 14:24:55 -05:00
parent df729613b2
commit 93e1024ab6
2 changed files with 2 additions and 55 deletions

View File

@ -96,52 +96,6 @@
# define jellyfin
services.jellyfin = {
enable = true;
openFirewall = true;
settings = {
system = {
serverName = "Jellyfin";
quickConnectAvailable = false;
isStartupWizardCompleted = true;
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";
}
{
name = "Merge Versions Plugin";
url = "https://raw.githubusercontent.com/danieladov/JellyfinPluginManifest/master/manifest.json";
}
];
enableSlowResponseWarning = false;
};
encoding = {
hardwareAccelerationType = "qsv";
hardwareDecodingCodecs = [
"h264"
"hevc"
"mpeg2video"
"mpeg4"
"vc1"
"vp8"
"vp9"
"av1"
];
enableIntelLowPowerH264HwEncoder = true;
enableIntelLowPowerHevcHwEncoder = true;
enableThrottling = false;
enableTonemapping = true;
downMixAudioBoost = 1;
};
};
};
# 1. enable vaapi on OS-level
nixpkgs.config.packageOverrides = pkgs: {

View File

@ -4,15 +4,9 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/release-24.11";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
jellyfin-flake = {
inputs.nixpkgs.follows = "nixpkgs";
owner = "matt1432";
repo = "nixos-jellyfin";
type = "github";
};
};
outputs = { self, nixpkgs, nixos-hardware, jellyfin-flake, ... }:
outputs = { self, nixpkgs, nixos-hardware, ... }:
let
system = "x86_64-linux";
lib = nixpkgs.lib;
@ -23,8 +17,7 @@
inherit system;
modules = [
# add your model from this list: https://github.com/NixOS/nixos-hardware/blob/master/flake.nix
#nixos-hardware.nixosModules.apple-macmini-4-1
jellyfin-flake.nixosModules.default
nixos-hardware.nixosModules.apple-macmini-4-1
./configuration.nix
];
};