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
c76817ca
85f8e93e
verified
This commit was signed with the committer's
known signature
.
thecoded.prof
SSH Key Fingerprint:
SHA256:ePn0u8NlJyz3J4Zl9MHOYW3f4XKoi5K1I4j53bwpG0U=
4/5
deadnix.yml
success
5s
packetmix-build.yml
success
1h 1m 17s
packetmix-npins-duplicate-check.yml
success
5s
packetmix-treefmt.yaml
failed
41s
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
+
services.postgresql = {
7
7
+
enable = true;
8
8
+
ensureDatabases = [ "plate" ];
9
9
+
ensureUsers = [
10
10
+
{
11
11
+
name = "plate";
12
12
+
ensureDBOwnership = true;
13
13
+
}
14
14
+
];
15
15
+
};
16
16
+
17
17
+
virtualisation.oci-containers = {
18
18
+
backend = "podman";
19
19
+
containers.plate = {
20
20
+
autoStart = true;
21
21
+
ports = [
22
22
+
"1035:3000"
23
23
+
];
24
24
+
25
25
+
image = "plate-container";
26
26
+
imageFile = project.inputs.plate.result.packages.container.result."x86_64-linux";
27
27
+
28
28
+
extraOptions = [
29
29
+
"--network=host"
30
30
+
"--mount type=bind,src=/run/postgres,dst=/mnt/postgres"
31
31
+
];
32
32
+
33
33
+
environmentFiles = [
34
34
+
"/secrets/plate/.env"
35
35
+
];
36
36
+
};
37
37
+
};
38
38
+
39
39
+
services.nginx.enable = true;
40
40
+
services.nginx.virtualHosts."plate.thecoded.prof"= {
41
41
+
addSSL = true;
42
42
+
enableACME = true;
43
43
+
acmeRoot = null;
44
44
+
45
45
+
locations."/" = {
46
46
+
proxyPass = "localhost:1035";
47
47
+
recommendedProxySettings = true;
48
48
+
proxyWebsockets = true;
49
49
+
};
50
50
+
};
51
51
+
}
52
52
+