removed jellyfin config to flake
This commit is contained in:
parent
df729613b2
commit
93e1024ab6
@ -96,52 +96,6 @@
|
|||||||
# define jellyfin
|
# define jellyfin
|
||||||
services.jellyfin = {
|
services.jellyfin = {
|
||||||
enable = true;
|
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
|
# 1. enable vaapi on OS-level
|
||||||
nixpkgs.config.packageOverrides = pkgs: {
|
nixpkgs.config.packageOverrides = pkgs: {
|
||||||
|
11
flake.nix
11
flake.nix
@ -4,15 +4,9 @@
|
|||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/release-24.11";
|
nixpkgs.url = "github:nixos/nixpkgs/release-24.11";
|
||||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
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
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
lib = nixpkgs.lib;
|
lib = nixpkgs.lib;
|
||||||
@ -23,8 +17,7 @@
|
|||||||
inherit system;
|
inherit system;
|
||||||
modules = [
|
modules = [
|
||||||
# add your model from this list: https://github.com/NixOS/nixos-hardware/blob/master/flake.nix
|
# add your model from this list: https://github.com/NixOS/nixos-hardware/blob/master/flake.nix
|
||||||
#nixos-hardware.nixosModules.apple-macmini-4-1
|
nixos-hardware.nixosModules.apple-macmini-4-1
|
||||||
jellyfin-flake.nixosModules.default
|
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user