-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
nixos/duplicity: init #53463
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/duplicity: init #53463
Conversation
8553181
to
c12a5e1
Compare
''; | ||
|
||
environment = { | ||
GNUPGHOME=stateDirectory; |
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.
What's this for? In any case formatting should be fixed, environment.GNUPGHOME = stateDirectory;
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.
Duplicity uses GPG which stores files in the home directory, but it's read only. I think that the state directory is a good fit.
I replaced GNUPGHOME by HOME (it supersedes it).
Add a simple module that wrap duplicity in a systemd service.
Gentle ping? |
Looking good thanks :) |
Thanks! |
Add a simple module that wrap duplicity in a systemd service.
I've used this module for a while on my server. It's handy to set services.duplicity.include in multiple places of my nix configuration, next to where the directories are used. It could help other duplicity users.
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)