diff options
Diffstat (limited to 'sys/pki/by-path.nix')
| -rw-r--r-- | sys/pki/by-path.nix | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/pki/by-path.nix b/sys/pki/by-path.nix deleted file mode 100644 index baca142..0000000 --- a/sys/pki/by-path.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ config, lib, ... }: -with lib; { - options.local.pki.byPath = mkOption { - type = with lib.types; attrsOf unspecified; - readOnly = true; - }; - - config.local.pki.byPath = - let - caWithLeaves = ca: - singleton { "${ca.path}" = ca; } - ++ map (leaf: { "${leaf.path}" = leaf; }) (attrValues ca.leaves); - in - mergeAttrsList (flatten (map caWithLeaves (attrValues config.local.pki.ca))); -} |
