curacao: Always start jellyfin-mpv-shim
This commit is contained in:
parent
2e99e6d18a
commit
98165841b1
2 changed files with 28 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
|||
./features.nix
|
||||
./hardware.nix
|
||||
./homeautomation
|
||||
./jellyfin.nix
|
||||
./rssVideos.nix
|
||||
./webcam
|
||||
];
|
||||
|
|
27
curacao/jellyfin.nix
Normal file
27
curacao/jellyfin.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue