Merge pull request #330294 from ju1m/radicle

nixos/radicle: fix support for encrypted privateKeyFile
This commit is contained in:
Florian 2024-07-27 09:35:28 +02:00 committed by GitHub
commit bfe7a4a3ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -119,7 +119,8 @@ in
enable = mkEnableOption "Radicle Seed Node";
package = mkPackageOption pkgs "radicle-node" { };
privateKeyFile = mkOption {
type = types.path;
# Note that a key encrypted by systemd-creds is not a path but a str.
type = with types; either path str;
description = ''
Absolute file path to an SSH private key,
usually generated by `rad auth`.