From dbc3cdba3977fcf0c6e92dc7c173831323bd447e Mon Sep 17 00:00:00 2001 From: traxys Date: Mon, 1 Apr 2024 18:36:28 +0200 Subject: [PATCH] minus: Add jellyfin --- hostconfig/minus/hm.nix | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/hostconfig/minus/hm.nix b/hostconfig/minus/hm.nix index 1b562f2..ffd9700 100644 --- a/hostconfig/minus/hm.nix +++ b/hostconfig/minus/hm.nix @@ -1,6 +1,22 @@ -{config, ...}: { +{ + config, + pkgs, + ... +}: { home.username = "${config.extraInfo.username}"; home.homeDirectory = "/home/${config.extraInfo.username}"; + home.packages = with pkgs; [ + jellyfin-media-player + ]; + + home.sessionVariables = { + SDL_VIDEODRIVER = "wayland"; + QT_QPA_PLATFORM = "wayland"; + MOZ_ENABLE_WAYLAND = "1"; + NIXOS_OZONE_WL = 1; + BROWSER = "firefox"; + }; + home.stateVersion = "23.11"; }