tangled
alpha
login
or
join now
tranquil.farm
/
tranquil-pds
149
fork
atom
Our Personal Data Server from scratch!
tranquil.farm
oauth
atproto
pds
rust
postgresql
objectstorage
fun
149
fork
atom
overview
issues
19
pulls
2
pipelines
fix: minor format cleanup and description fixing in the module
nel.pet
2 weeks ago
a81bd34b
40900348
verified
This commit was signed with the committer's
known signature
.
nel.pet
SSH Key Fingerprint:
SHA256:Zd+mWw4EweOfjYKNMYyVtMSN7oj+SBabmubG4RThVEI=
+6
-9
1 changed file
expand all
collapse all
unified
split
module.nix
+6
-9
module.nix
···
1
1
-
self:
2
2
-
{
1
1
+
self: {
3
2
lib,
4
3
pkgs,
5
4
config,
6
5
...
7
7
-
}:
8
8
-
let
6
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
19
-
in
20
20
-
{
17
17
+
in {
21
18
_class = "nixos";
22
19
23
20
options.services.tranquil-pds = {
···
167
164
};
168
165
169
166
description = ''
170
170
-
Environment variables to set for the service. Secrets should be
167
167
+
Configuration options to set for the service. Secrets should be
171
168
specified using {option}`environmentFile`.
172
169
173
173
-
Refer to <https://tangled.org/tranquil.farm/tranquil-pds/blob/main/.env.example>
174
174
-
available environment variables.
170
170
+
Refer to <https://tangled.org/tranquil.farm/tranquil-pds/blob/main/example.toml>
171
171
+
for available configuration options.
175
172
'';
176
173
};
177
174
};