curacao: Always start jellyfin-mpv-shim

This commit is contained in:
Geoffrey Frogeye 2025-06-27 21:12:45 +02:00
parent 2e99e6d18a
commit 98165841b1
2 changed files with 28 additions and 0 deletions

27
curacao/jellyfin.nix Normal file
View file

@ -0,0 +1,27 @@
{
config,
...
}:
let
hostConfig = config;
in
{
config.home-manager.users.geoffrey =
{
pkgs,
lib,
config,
...
}:
{
systemd.user = {
services.jellyfin-mpv-shim = {
Unit = {
After = [ "graphical-session.target" ];
PartOf = [ "graphical-session.target" ];
};
Service.ExecStart = lib.getExe pkgs.jellyfin-mpv-shim;
};
};
};
}