Our Personal Data Server from scratch! tranquil.farm
oauth atproto pds rust postgresql objectstorage fun

fix: minor format cleanup and description fixing in the module

nel.pet a81bd34b 40900348

verified
+6 -9
+6 -9
module.nix
··· 1 - self: 2 - { 1 + self: { 3 2 lib, 4 3 pkgs, 5 4 config, 6 5 ... 7 - }: 8 - let 6 + }: let 9 7 cfg = config.services.tranquil-pds; 10 8 11 9 inherit (lib) types mkOption; ··· 16 14 17 15 useACME = cfg.nginx.enableACME && cfg.nginx.useACMEHost == null; 18 16 hasSSL = useACME || cfg.nginx.useACMEHost != null; 19 - in 20 - { 17 + in { 21 18 _class = "nixos"; 22 19 23 20 options.services.tranquil-pds = { ··· 167 164 }; 168 165 169 166 description = '' 170 - Environment variables to set for the service. Secrets should be 167 + Configuration options to set for the service. Secrets should be 171 168 specified using {option}`environmentFile`. 172 169 173 - Refer to <https://tangled.org/tranquil.farm/tranquil-pds/blob/main/.env.example> 174 - available environment variables. 170 + Refer to <https://tangled.org/tranquil.farm/tranquil-pds/blob/main/example.toml> 171 + for available configuration options. 175 172 ''; 176 173 }; 177 174 };