Bernardo Meurer
836af9c15e
nixos/hqplayerd: allow GPU acceleration
2022-07-22 21:21:46 -07:00
Guillaume Girol
2b0a7ef8f2
nixos/hqplayerd: do not make manual depend on (unfree) hqplayerd
2021-10-03 12:00:00 +00:00
Bernardo Meurer
c934bb6771
nixos/hqplayerd: don't add config to restartTriggers when it doesn't exist
...
Previously when the use didn't set `hqplayer.config`, we would still
attempt to reference the config file in the restartTriggers, causing an
error.
2021-08-13 15:16:21 -07:00
Bernardo Meurer
e5aa940305
nixos/hqplayerd: allow configuration from Nix
2021-08-12 02:37:38 -07:00
Bernardo Meurer
b43049dbd7
nixos/hqplayerd: also open controller port
2021-08-12 02:36:42 -07:00
Bernardo Meurer
7c122d687b
nixos/hqplayerd: sort options
2021-08-12 00:37:36 -07:00
Bernardo Meurer
1df5e3cdf3
nixos/hqplayerd: use upstream unit as much as possible
2021-08-04 12:15:33 -07:00
Bernardo Meurer
e242633669
nixos/hqplayerd: remove configurable user/group
...
The service is adamant that it must run under the right user, so let's
just enforce it.
2021-08-04 12:15:31 -07:00
Bernardo Meurer
3ccb633f85
nixos/hqplayerd: use package-provided config file instead of blank
2021-08-04 12:15:14 -07:00
Bernardo Meurer
f949ce7449
nixos/hqplayerd: set HOME to path in state directory
...
The service likes to write files uploaded by the user to the service
user's $HOME. In our case the hqplayerd user has no home directory,
since it's a system user, and regardless we'd like to keep the service's
state contained.
With this change the unit forces HOME to point to
/var/lib/hqplayer/home, which works around the issue.
2021-08-03 23:29:31 -07:00
Bernardo Meurer
05cba47810
nixos/hqplayerd: init
2021-08-03 15:54:23 -07:00