added: enable info per default
fix: allow ca paths only
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user