mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #330294 from ju1m/radicle
nixos/radicle: fix support for encrypted privateKeyFile
This commit is contained in:
commit
bfe7a4a3ee
1 changed files with 2 additions and 1 deletions
|
@ -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`.
|
||||
|
|
Loading…
Reference in a new issue