docs: add overview

This commit is contained in:
oddlama 2024-01-11 19:59:27 +01:00
parent c55f465ba1
commit 4744a2844c
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
4 changed files with 133 additions and 27 deletions

View file

@ -46,7 +46,7 @@
defineGuest = _guestName: guestCfg: {
# Add the required datasets to the disko configuration of the machine
disko.devices.zpool = mkMerge (flip map (attrValues guestCfg.zfs) (zfsCfg: {
${zfsCfg.pool}.datasets.${zfsCfg.dataset} = disko.filesystem zfsCfg.hostMountpoint;
${zfsCfg.pool}.datasets.${zfsCfg.dataset} = disko.zfs.filesystem zfsCfg.hostMountpoint;
}));
# Ensure that the zfs dataset exists before it is mounted.

View file

@ -52,7 +52,7 @@ in {
};
config = mkIf (config.services.nginx.enable && config.services.nginx.recommendedSetup) {
age.secrets."dhparams.pem" = {
age.secrets."dhparams.pem" = mkIf (config ? age) {
generator.script = "dhparams";
mode = "440";
group = "nginx";
@ -71,7 +71,7 @@ in {
# SSL config
sslCiphers = "EECDH+AESGCM:EDH+AESGCM:!aNULL";
sslDhparam = config.age.secrets."dhparams.pem".path;
sslDhparam = mkIf (config ? age) config.age.secrets."dhparams.pem".path;
commonHttpConfig = ''
log_format json_combined escape=json '{'
'"time": $msec,'