2bc4 / twitch-hls-client

Minimal CLI client for watching/recording Twitch streams
GNU General Public License v3.0
22 stars 5 forks source link

Adds support for NixOS with flake and hm-module #36

Closed linuxmobile closed 4 months ago

linuxmobile commented 4 months ago

Description:

This pull request adds support for NixOS via a flake and a Home Manager module, making it easier to install and configure twitch-hls-client on Nix-managed systems. Updated README.md with instructions for installation and configuration.

Major Changes:

Objective: Provide a simple and effective integration for NixOS users, improving the accessibility and user experience of twitch-hls-client.

Testing Instructions:

(tested and used in my configuration)

image

2bc4 commented 4 months ago

Seems good to me, but if merged is there anything required to maintain it going forward? I'm not very familiar with NixOS packaging.

linuxmobile commented 4 months ago

Seems good to me, but if merged is there anything required to maintain it going forward? I'm not very familiar with NixOS packaging.

No specific maintenance is required. Since it builds depending on your Cargo.toml

https://github.com/linuxmobile/twitch-hls-client/blob/10abc7901881eb0134b09bd6d65aad36badc81a0/nix/default.nix#L12

The only maintenance depends on the features you add. Example: If you add a flag that is "--FlagExample", I would have to add it in the hm-module file. Which is nothing complicated really.

Anyway I will try to keep the flake updated based on the changes you have in the releases. I love the cli and I'm happy using it in nixos.