tangled
alpha
login
or
join now
freshlybakedca.ke
/
patisserie
10
fork
atom
Your one-stop-cake-shop for everything Freshly Baked has to offer
10
fork
atom
overview
issues
pulls
5
pipelines
feat: run plate
thecoded.prof
1 month ago
65ad5a0e
85f8e93e
verified
This commit was signed with the committer's
known signature
.
thecoded.prof
SSH Key Fingerprint:
SHA256:ePn0u8NlJyz3J4Zl9MHOYW3f4XKoi5K1I4j53bwpG0U=
4/5
deadnix.yml
success
6s
packetmix-build.yml
failed
54s
packetmix-npins-duplicate-check.yml
success
6s
packetmix-treefmt.yaml
success
36s
reuse.yml
success
7s
+65
2 changed files
expand all
collapse all
unified
split
npins
sources.json
packetmix
systems
teal
plate.nix
+13
npins/sources.json
reviewed
···
572
572
"url": "https://github.com/andir/npins/archive/0d6aaa4b3dcd1d8badbed2b66e0c50867330a86e.tar.gz",
573
573
"hash": "sha256-9N14/tliOiA49Us2uFUWHcrhYN8AmJjR+bnwzcxejgs="
574
574
},
575
575
+
"plate": {
576
576
+
"type": "Git",
577
577
+
"repository": {
578
578
+
"type": "GitHub",
579
579
+
"owner": "TheCodedProf",
580
580
+
"repo": "plate"
581
581
+
},
582
582
+
"branch": "private/coded/push-vortltwxtupv",
583
583
+
"submodules": false,
584
584
+
"revision": "d0e3bf200c635427878b71f26b3189797312fa99",
585
585
+
"url": "https://github.com/TheCodedProf/plate/archive/d0e3bf200c635427878b71f26b3189797312fa99.tar.gz",
586
586
+
"hash": "sha256-bvD/S6qMaq7ee8CXH1GljOmSuoRtUt8gSAeLySMOnnE="
587
587
+
},
575
588
"quickshell": {
576
589
"type": "GitRelease",
577
590
"repository": {
+52
packetmix/systems/teal/plate.nix
reviewed
···
1
1
+
# SPDX-FileCopyrightText: 2026 FreshlyBakedCake
2
2
+
#
3
3
+
# SPDX-License-Identifier: MIT
4
4
+
5
5
+
{ project }:
6
6
+
{
7
7
+
services.postgresql = {
8
8
+
enable = true;
9
9
+
ensureDatabases = [ "plate" ];
10
10
+
ensureUsers = [
11
11
+
{
12
12
+
name = "plate";
13
13
+
ensureDBOwnership = true;
14
14
+
}
15
15
+
];
16
16
+
};
17
17
+
18
18
+
virtualisation.oci-containers = {
19
19
+
backend = "podman";
20
20
+
containers.plate = {
21
21
+
autoStart = true;
22
22
+
ports = [
23
23
+
"1035:3000"
24
24
+
];
25
25
+
26
26
+
image = "plate-container";
27
27
+
imageFile = project.inputs.plate.result.packages.container.result."x86_64-linux";
28
28
+
29
29
+
extraOptions = [
30
30
+
"--network=host"
31
31
+
"--mount type=bind,src=/run/postgres,dst=/mnt/postgres"
32
32
+
];
33
33
+
34
34
+
environmentFiles = [
35
35
+
"/secrets/plate/.env"
36
36
+
];
37
37
+
};
38
38
+
};
39
39
+
40
40
+
services.nginx.enable = true;
41
41
+
services.nginx.virtualHosts."plate.thecoded.prof" = {
42
42
+
addSSL = true;
43
43
+
enableACME = true;
44
44
+
acmeRoot = null;
45
45
+
46
46
+
locations."/" = {
47
47
+
proxyPass = "localhost:1035";
48
48
+
recommendedProxySettings = true;
49
49
+
proxyWebsockets = true;
50
50
+
};
51
51
+
};
52
52
+
}