Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
feat(nixos): Support running rad commands for service
Archived did:key:z6Mkf8A8...FoXE opened 1 year ago

radicle-node’s user (radicle) couldn’t easily interact with the systemd service. This made maintenance and administration very difficult. Stuff like getting the node ID, listing repositories, connected seed repositories, and so was a chore.

With RAD_HOME now set to the defaul ~/.radicle, the public key and the config readable by rad, all the above operations (and more) are available. the configuration still cannot be modified, but given it’s NixOS, that is desirable as it should be declarative.

did:key:z6Mkf8A8...FoXE opened with revision 64d3eb73 on base 3b5fac17 +409 -0 1 year ago

radicle-node’s user (radicle) couldn’t easily interact with the systemd service. This made maintenance and administration very difficult. Stuff like getting the node ID, listing repositories, connected seed repositories, and so was a chore.

With RAD_HOME now set to the defaul ~/.radicle, the public key and the config readable by rad, all the above operations (and more) are available. the configuration still cannot be modified, but given it’s NixOS, that is desirable as it should be declarative.

lorenz commented on revision 1 1 year ago

Hey! Thanks for submitting this patch. Could you please motivate why you want to crate resources/nixos? Also, resources/nixos/service.nix looks very very similar to the module definition in NixOS proper, i.e. in github.com/NixOS/nixpkgs. What’s the difference here exactly?

lorenz commented on revision 1 1 year ago

I will archive this for now, but feel free to come back to it if you think it is important.