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/deluge: add autFile, config and port options #58552
Conversation
I don't think this is backwards compatible like this, because previously deluge wasn't passed the |
I changed it to the current config default location |
That will just override the users stateful configuration with the one generated by NixOS which is even worse :) You need to handle the case of users having either stateful or declarative configs. There's multiple ways of doing this:
I personally prefer the first one. If you have other ways to solve this, that would work too of course. |
I modify the PR to add |
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.
(I'm steering you towards the approach in NixOS/rfcs#42)
20a917e
to
22f45bb
Compare
@infinisil I think I have made all the modification needed. Can you please review this PR one last time? |
@infinisil I have take into account all of your review and kept closed the problematic ports we discussed of. I hope this time it can be merged. |
@infinisil Hopefully this is the last time I bother you with this PR. |
@GrahamcOfBorg test deluge |
Looking good, thanks for your patience :) |
Happy to see it merged, I learned more of Nix thanks to you!
Le mar. 4 juin 2019 à 23:16, Silvan Mosberger <notifications@github.com> a
écrit :
… Merged #58552 <#58552> into master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#58552?email_source=notifications&email_token=ABKFBDTIZQZEEUROXZMNQLDPY3LSDA5CNFSM4HCLIBNKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGORZWLLQA#event-2389489088>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABKFBDTSRO2STY5I52TZEE3PY3LSDANCNFSM4HCLIBNA>
.
|
@GrahamcOfBorg test deluge |
Motivation for this change
It add multiples options to the deluge service to have a level of configuration similar to transmission: config, ports and auth.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)