diff --git a/users/guest/common/optional/graphical/jellyfin.nix b/users/guest/common/optional/graphical/jellyfin.nix index b6ff65f..0d29dc3 100644 --- a/users/guest/common/optional/graphical/jellyfin.nix +++ b/users/guest/common/optional/graphical/jellyfin.nix @@ -8,8 +8,14 @@ jellyfin-media-player ]; + home.persistence."/state".directories = [ + ".cache/jellyfin.org" + ]; + home.persistence."/persist".directories = [ ".config/jellyfin.org" + ".local/share/jellyfinmediaplayer" + ".local/share/Jellyfin Media Player" ]; systemd.user.services.jellyfin-media-player = { @@ -22,10 +28,13 @@ }; Service = { ExecStart = '' - ${pkgs.gamescope}/bin/gamescope --rt --backend drm -- \ - ${pkgs.jellyfin-media-player}/bin/jellyfinmediaplayer --tv --scale-factor 2 + ${pkgs.gamescope}/bin/gamescope --hdr-enabled --rt --backend drm -- \ + ${pkgs.jellyfin-media-player}/bin/jellyfinmediaplayer --scale-factor 2 --tv --fullscreen ''; Restart = "always"; }; + Install = { + WantedBy = [ "default.target" ]; + }; }; } diff --git a/users/guest/common/optional/graphical/steam.nix b/users/guest/common/optional/graphical/steam.nix index 7508362..b62220d 100644 --- a/users/guest/common/optional/graphical/steam.nix +++ b/users/guest/common/optional/graphical/steam.nix @@ -30,8 +30,5 @@ ''; Restart = "always"; }; - Install = { - WantedBy = [ "default.target" ]; - }; }; } diff --git a/users/guest/default.nix b/users/guest/default.nix index 2433161..88a5284 100644 --- a/users/guest/default.nix +++ b/users/guest/default.nix @@ -45,12 +45,17 @@ in ++ optional (builtins.pathExists hostFile) hostFile; home = { + packages = with pkgs; [ + adwaita-fonts + ]; username = name; sessionVariables = { ZDOTDIR = "~/.config/zsh"; }; }; + fonts.fontconfig.enable = true; + programs.zsh = { enable = true; enableCompletion = true;