users/guest: adjust jellyfin-media-player
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m42s

This commit is contained in:
2025-09-28 22:55:26 +01:00
parent f8dd9b73f5
commit c5bfed5a84
3 changed files with 16 additions and 5 deletions

View File

@@ -8,8 +8,14 @@
jellyfin-media-player jellyfin-media-player
]; ];
home.persistence."/state".directories = [
".cache/jellyfin.org"
];
home.persistence."/persist".directories = [ home.persistence."/persist".directories = [
".config/jellyfin.org" ".config/jellyfin.org"
".local/share/jellyfinmediaplayer"
".local/share/Jellyfin Media Player"
]; ];
systemd.user.services.jellyfin-media-player = { systemd.user.services.jellyfin-media-player = {
@@ -22,10 +28,13 @@
}; };
Service = { Service = {
ExecStart = '' ExecStart = ''
${pkgs.gamescope}/bin/gamescope --rt --backend drm -- \ ${pkgs.gamescope}/bin/gamescope --hdr-enabled --rt --backend drm -- \
${pkgs.jellyfin-media-player}/bin/jellyfinmediaplayer --tv --scale-factor 2 ${pkgs.jellyfin-media-player}/bin/jellyfinmediaplayer --scale-factor 2 --tv --fullscreen
''; '';
Restart = "always"; Restart = "always";
}; };
Install = {
WantedBy = [ "default.target" ];
};
}; };
} }

View File

@@ -30,8 +30,5 @@
''; '';
Restart = "always"; Restart = "always";
}; };
Install = {
WantedBy = [ "default.target" ];
};
}; };
} }

View File

@@ -45,12 +45,17 @@ in
++ optional (builtins.pathExists hostFile) hostFile; ++ optional (builtins.pathExists hostFile) hostFile;
home = { home = {
packages = with pkgs; [
adwaita-fonts
];
username = name; username = name;
sessionVariables = { sessionVariables = {
ZDOTDIR = "~/.config/zsh"; ZDOTDIR = "~/.config/zsh";
}; };
}; };
fonts.fontconfig.enable = true;
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableCompletion = true; enableCompletion = true;