fix: isPath

This commit is contained in:
shimun 2022-12-01 13:21:16 +00:00
parent 812b065cec
commit c88c0f9542

View File

@ -1,6 +1,6 @@
{ config, pkgs, lib, ... }: with lib; let
cfg = config.services.ssh-cert-dist;
ca = if builtins.isPath cfg.ca then cfg.ca else pkgs.writeText "ssh-ca" cfg.ca;
ca = if isStorePath cfg.ca then cfg.ca else pkgs.writeText "ssh-ca" cfg.ca;
in
{
options.services.ssh-cert-dist = {