#EDIT I'm abandoning this because bazzite is just shockingly easier. I have included the bazzite bootstrap.sh file I use to bootstrap my bazzite boxes. If you install bazzite and make the user "jelly" and set it to not have a password the boot strap should upgrade system, turn off screen locking/logout then install jellyfinmediaplayer as a flat pak, then create a systemd service that will start it in tv mode with a scale-facotr of 1.25 on boot then remind you to change the setting so the amazon remote stops popping up the reboot options when you hit the power button.
my poor quality configuration.nix to (probably) turn any base nix install into a jellyfin client box. I am currently using this with beelink mini s12's and amazon firestick remotes. https://www.amazon.ca/gp/product/B08XBVXNFP?th=1
Just do a normal nixos install witho automatic user login then put this in for your configuration.nix in /etc/nixos/ and make a few changes:
-
timezone
-
make the username in users.user.hyprjellynix, home-managers.users.hyprjellynix, and services.displayManager.autoloing.user to match the user you created during install
-
Change the i18n.defaultLocale to something that makes sense for you if needed
-
Adjust the monitor name and monitor in the workspace to match your situation.
-
Then add the home-manager nixos module : https://nix-community.github.io/home-manager/index.xhtml#sec-install-nixos-module as of this writing these are the commands: sudo nix-channel --add https://github.com/nix-community/home-manager/archive/release-24.05.tar.gz home-manager
sudo nix-channel --update
- then do a nixos-rebuild switch then reboot if it works and watch hyprland autologin and start jellyfin-media-player and jellyfin-mpv-shim after 30 seconds
You may have to adjust the audio in the jellyfin settings to point to the right HDMI device (I certainly did).
Anyways, I'm a total nixos noob so please point out where I screwed this up.