added secureHost flag

This commit is contained in:
2025-09-28 10:52:27 -06:00
parent d704e0ee13
commit a376428118
24 changed files with 100 additions and 87 deletions

View File

@@ -5,7 +5,7 @@ let
in
{
options.my.servers.homepage = setup.mkOptions "homepage" "home" 8082;
config = {
config = lib.mkIf config.my.secureHost {
sops.secrets = lib.mkIf cfg.enable {
homepage.sopsFile = ../../secrets/homepage.yaml;
"private-ca/pem" = {