added: enable info per default
fix: allow ca paths only
This commit is contained in:
parent
4a69fbead6
commit
174d2e0cfb
@ -7,7 +7,7 @@ edition = "2021"
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[features]
|
||||
default = [ "client", "reload" ]
|
||||
default = [ "client", "reload", "info" ]
|
||||
reload = []
|
||||
info = [ "axum/json", "ssh-key/serde" ]
|
||||
client = [ "dep:url", "dep:reqwest" ]
|
||||
|
@ -1,6 +1,5 @@
|
||||
{ config, pkgs, lib, ... }: with lib; let
|
||||
cfg = config.services.ssh-cert-dist;
|
||||
ca = if isPath cfg.ca then cfg.ca else pkgs.writeText "ssh-ca" cfg.ca;
|
||||
in
|
||||
{
|
||||
options.services.ssh-cert-dist = {
|
||||
@ -18,7 +17,7 @@ in
|
||||
default = pkgs.ssh-cert-dist;
|
||||
};
|
||||
ca = mkOption {
|
||||
type = with types; either str path;
|
||||
type = types.path;
|
||||
};
|
||||
dataDir = mkOption {
|
||||
type = types.path;
|
||||
|
Loading…
x
Reference in New Issue
Block a user