chore(jellyfin): update to latest nixos-jellyfin with overlay
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
138a6637e2
commit
be30fdcd79
7 changed files with 47 additions and 60 deletions
|
@ -1,8 +1,9 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
jellyfin-flake,
|
nixos-jellyfin,
|
||||||
mainUser,
|
|
||||||
lib,
|
lib,
|
||||||
|
mainUser,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) hasAttr optionals;
|
inherit (lib) hasAttr optionals;
|
||||||
|
@ -14,8 +15,7 @@
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
./jfa-go.nix
|
./jfa-go.nix
|
||||||
./packages.nix
|
nixos-jellyfin.nixosModules.default
|
||||||
jellyfin-flake.nixosModules.default
|
|
||||||
];
|
];
|
||||||
|
|
||||||
users.users."jellyfin".extraGroups =
|
users.users."jellyfin".extraGroups =
|
||||||
|
@ -28,6 +28,11 @@ in {
|
||||||
services.jellyfin = {
|
services.jellyfin = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
webPackage = pkgs.jellyfin-web.override {
|
||||||
|
forceEnableBackdrops = true;
|
||||||
|
forceDisablePreferFmp4 = true;
|
||||||
|
};
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
system = {
|
system = {
|
||||||
serverName = "Jelly";
|
serverName = "Jelly";
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
jellyfin-flake,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
jellyPkgs =
|
|
||||||
if config.nvidia.enableCUDA
|
|
||||||
# TODO: add overlays to upstream flake
|
|
||||||
then jellyfin-flake.packages.${pkgs.system}.cudaPackages
|
|
||||||
else jellyfin-flake.packages.${pkgs.system};
|
|
||||||
in {
|
|
||||||
services.jellyfin = {
|
|
||||||
package = jellyPkgs.jellyfin;
|
|
||||||
webPackage = jellyPkgs.jellyfin-web.override {
|
|
||||||
forceEnableBackdrops = true;
|
|
||||||
forceDisablePreferFmp4 = true;
|
|
||||||
};
|
|
||||||
ffmpegPackage = jellyPkgs.jellyfin-ffmpeg;
|
|
||||||
};
|
|
||||||
}
|
|
45
flake.lock
generated
45
flake.lock
generated
|
@ -836,26 +836,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"jellyfin-flake": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1740340966,
|
|
||||||
"narHash": "sha256-h4+m+6IRwG1z5+jEUyC3MPzKhutOGhs6h5oNbYaul/c=",
|
|
||||||
"owner": "matt1432",
|
|
||||||
"repo": "nixos-jellyfin",
|
|
||||||
"rev": "a996604d38dad7ec280d6b2ad57542d05ca5714f",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "matt1432",
|
|
||||||
"repo": "nixos-jellyfin",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"jovian": {
|
"jovian": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nix-github-actions": [
|
"nix-github-actions": [
|
||||||
|
@ -1323,6 +1303,29 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixos-jellyfin": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"systems": [
|
||||||
|
"systems"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1741237837,
|
||||||
|
"narHash": "sha256-YbxjieouhSGNIAC4n/UyTKzQrNhLjRyU7BfVTQUMHZs=",
|
||||||
|
"owner": "matt1432",
|
||||||
|
"repo": "nixos-jellyfin",
|
||||||
|
"rev": "d4bd900cd1792f939b6a2650537ebee6e2130802",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "matt1432",
|
||||||
|
"repo": "nixos-jellyfin",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1741010256,
|
"lastModified": 1741010256,
|
||||||
|
@ -1645,7 +1648,6 @@
|
||||||
"hyprland": "hyprland",
|
"hyprland": "hyprland",
|
||||||
"hyprland-plugins": "hyprland-plugins",
|
"hyprland-plugins": "hyprland-plugins",
|
||||||
"hyprpaper": "hyprpaper",
|
"hyprpaper": "hyprpaper",
|
||||||
"jellyfin-flake": "jellyfin-flake",
|
|
||||||
"jovian": "jovian",
|
"jovian": "jovian",
|
||||||
"kompass": "kompass",
|
"kompass": "kompass",
|
||||||
"lib-aggregate": "lib-aggregate",
|
"lib-aggregate": "lib-aggregate",
|
||||||
|
@ -1667,6 +1669,7 @@
|
||||||
"nix-on-droid": "nix-on-droid",
|
"nix-on-droid": "nix-on-droid",
|
||||||
"nixcord": "nixcord",
|
"nixcord": "nixcord",
|
||||||
"nixd": "nixd",
|
"nixd": "nixd",
|
||||||
|
"nixos-jellyfin": "nixos-jellyfin",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"nixpkgs-wayland": "nixpkgs-wayland",
|
"nixpkgs-wayland": "nixpkgs-wayland",
|
||||||
"nurl": "nurl",
|
"nurl": "nurl",
|
||||||
|
|
15
flake.nix
15
flake.nix
|
@ -178,12 +178,6 @@
|
||||||
repo = "hyprpaper";
|
repo = "hyprpaper";
|
||||||
type = "github";
|
type = "github";
|
||||||
};
|
};
|
||||||
jellyfin-flake = {
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
owner = "matt1432";
|
|
||||||
repo = "nixos-jellyfin";
|
|
||||||
type = "github";
|
|
||||||
};
|
|
||||||
jovian = {
|
jovian = {
|
||||||
inputs = {
|
inputs = {
|
||||||
nix-github-actions.follows = "nix-github-actions";
|
nix-github-actions.follows = "nix-github-actions";
|
||||||
|
@ -342,6 +336,15 @@
|
||||||
repo = "nixd";
|
repo = "nixd";
|
||||||
type = "github";
|
type = "github";
|
||||||
};
|
};
|
||||||
|
nixos-jellyfin = {
|
||||||
|
inputs = {
|
||||||
|
nixpkgs.follows = "nixpkgs";
|
||||||
|
systems.follows = "systems";
|
||||||
|
};
|
||||||
|
owner = "matt1432";
|
||||||
|
repo = "nixos-jellyfin";
|
||||||
|
type = "github";
|
||||||
|
};
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
owner = "NixOS";
|
owner = "NixOS";
|
||||||
ref = "nixos-unstable";
|
ref = "nixos-unstable";
|
||||||
|
|
|
@ -149,7 +149,7 @@ let
|
||||||
repo = "nixos-docker-compose";
|
repo = "nixos-docker-compose";
|
||||||
};
|
};
|
||||||
|
|
||||||
jellyfin-flake = mkInput {
|
nixos-jellyfin = mkInput {
|
||||||
owner = "matt1432";
|
owner = "matt1432";
|
||||||
repo = "nixos-jellyfin";
|
repo = "nixos-jellyfin";
|
||||||
};
|
};
|
||||||
|
|
|
@ -12,6 +12,7 @@ in {
|
||||||
nixpkgs.overlays =
|
nixpkgs.overlays =
|
||||||
(map (i: self.inputs.${i}.overlays.default) [
|
(map (i: self.inputs.${i}.overlays.default) [
|
||||||
"grim-hyprland"
|
"grim-hyprland"
|
||||||
|
"nixos-jellyfin"
|
||||||
"nh"
|
"nh"
|
||||||
"nixd"
|
"nixd"
|
||||||
"nurl"
|
"nurl"
|
||||||
|
|
|
@ -5,7 +5,7 @@ self: {
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (self.lib.hypr) mkBind;
|
inherit (self.lib.hypr) mkBind;
|
||||||
inherit (self.inputs) jellyfin-flake nixcord;
|
inherit (self.inputs) nixcord;
|
||||||
|
|
||||||
inherit (lib) attrValues getExe mkIf optionals;
|
inherit (lib) attrValues getExe mkIf optionals;
|
||||||
inherit (pkgs.writers) writeTOML;
|
inherit (pkgs.writers) writeTOML;
|
||||||
|
@ -203,12 +203,8 @@ in {
|
||||||
satty
|
satty
|
||||||
;
|
;
|
||||||
|
|
||||||
jellyfinMediaPlayer =
|
# comes from nixos-jellyfin
|
||||||
jellyfin-flake
|
jellyfinMediaPlayer = pkgs.jellyfin-media-player.override {isNvidiaWayland = isNvidia;};
|
||||||
.packages
|
|
||||||
.${pkgs.system}
|
|
||||||
.jellyfin-media-player
|
|
||||||
.override {isNvidiaWayland = isNvidia;};
|
|
||||||
|
|
||||||
GParted = let
|
GParted = let
|
||||||
inherit
|
inherit
|
||||||
|
|
Loading…
Add table
Reference in a new issue