New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/unified-remote: init at 3.6.0.745 #30668
Conversation
Please don't PR to release branches, go through master and request a cherry-pick after. Also please squash your commits into logical chunks. |
cff493c
to
0ad160c
Compare
@globin sorry about that. I made some changes. Do they address your concerns? |
0ad160c
to
f4cce4f
Compare
f4cce4f
to
a59be52
Compare
Travis fails due to the unfree license. |
example = true; | ||
description = '' | ||
Whether to enable Unified Remote Server | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that all this formatting will not show up in the manual.
nixos/modules/misc/ids.nix
Outdated
@@ -567,6 +567,7 @@ | |||
kanboard = 281; | |||
pykms = 282; | |||
kodi = 283; | |||
uinput = 284; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason to assign a fixed uid?
stateDir = mkOption { | ||
type = types.path; | ||
default = "/var/lib/unified-remote"; | ||
description = "Path to the state dir"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"dir" is not a word. Also, sentences should end with a period.
I'm not really in favor of adding unfree software to NixOS unless there is a compelling reason. |
a59be52
to
28ee082
Compare
28ee082
to
50bbd59
Compare
Thank you for your comments @edolstra. I appreciate your concern and would be happy continuing to maintain these patches out of tree for now. There are a couple flaws with the PR:
That said, my experience using NixOS plus this service for a couple months has been positive. |
Closing this as I've moved the module and package elsewhere https://gitlab.com/badi.sh/nixos-mediacenter |
Motivation for this change
Hi
I've used Unified Remote to control my media center PC from an old phone for years now.
After switching the OS to NixOS, I needed to run something similar.
A superficial search didn't turn up a comparable service already in NixOS and everyone in the house is already comfortable with Unified Remote, hence this PR.
Example usage:
Things done
unified-remote
packageunified-remote
servicebuild-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)I think. This is both package and nixos/service.