alpha
Login
or
Join now
hermes.pds.lassul.us
/
superconfig
forked from
lass.pds.lassul.us/superconfig
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
machines.prism: remove legacy pad
author
lassulus
date
1 year ago
(Jun 3, 2025, 4:06 PM CEST)
commit
757e72a2
757e72a276569554caf7653cd2c1e4685222c932
parent
523e1892
523e189290c8371aefee012e2c382058f9052307
-96
2 changed files
Expand all
Collapse all
Unified
Split
2configs
codimd.nix
machines
prism
config.nix
-95
2configs/codimd.nix
Reviewed
···
1
1
-
{ ... }:
2
2
-
let
3
3
-
domain = "pad.lassul.us";
4
4
-
in
5
5
-
{
6
6
-
7
7
-
# redirect legacy domain to new one
8
8
-
# services.nginx.virtualHosts."codi.lassul.us" = {
9
9
-
# enableACME = true;
10
10
-
# addSSL = true;
11
11
-
# locations."/".return = "301 https://${domain}\$request_uri";
12
12
-
# };
13
13
-
14
14
-
services.nginx.virtualHosts.${domain} = {
15
15
-
enableACME = true;
16
16
-
forceSSL = true;
17
17
-
acmeFallbackHost = "neoprism.lassul.us";
18
18
-
locations."/" = {
19
19
-
# proxyPass = "https://localhost:3091";
20
20
-
proxyPass = "https://neoprism.lassul.us";
21
21
-
proxyWebsockets = true;
22
22
-
recommendedProxySettings = true;
23
23
-
};
24
24
-
};
25
25
-
26
26
-
# security.acme.certs.${domain}.group = "hedgecert";
27
27
-
# users.groups.hedgecert.members = [
28
28
-
# "hedgedoc"
29
29
-
# "nginx"
30
30
-
# ];
31
31
-
32
32
-
# security.dhparams = {
33
33
-
# enable = true;
34
34
-
# params.hedgedoc = { };
35
35
-
# };
36
36
-
37
37
-
# services.borgbackup.jobs.hetzner.paths = [
38
38
-
# "/var/backup"
39
39
-
# "/var/lib/hedgedoc"
40
40
-
# ];
41
41
-
# systemd.services.hedgedoc-backup = {
42
42
-
# startAt = "daily";
43
43
-
# serviceConfig = {
44
44
-
# ExecStart = pkgs.writers.writeDash "pad-backup" ''
45
45
-
# until ${pkgs.sqlite}/bin/sqlite3 /var/lib/hedgedoc/db.hedgedoc.sqlite ".backup /var/backup/hedgedoc/backup.sq3"; do
46
46
-
# sleep 1
47
47
-
# done
48
48
-
# '';
49
49
-
# Type = "oneshot";
50
50
-
# };
51
51
-
# };
52
52
-
53
53
-
# systemd.services.hedgedoc.environment = {
54
54
-
# CMD_COOKIE_POLICY = "none";
55
55
-
# CMD_CSP_ALLOW_FRAMING = "true";
56
56
-
# };
57
57
-
58
58
-
# services.hedgedoc = {
59
59
-
# enable = true;
60
60
-
# settings = {
61
61
-
# allowOrigin = [ domain ];
62
62
-
# db = {
63
63
-
# dialect = "sqlite";
64
64
-
# storage = "/var/lib/hedgedoc/db.hedgedoc.sqlite";
65
65
-
# };
66
66
-
# useCDN = false;
67
67
-
# port = 3091;
68
68
-
# domain = domain;
69
69
-
# allowFreeURL = true;
70
70
-
# defaultPermission = "freely";
71
71
-
72
72
-
# useSSL = true;
73
73
-
# protocolUseSSL = true;
74
74
-
# sslCAPath = [ "/etc/ssl/certs/ca-certificates.crt" ];
75
75
-
# sslCertPath = "/var/lib/acme/${domain}/cert.pem";
76
76
-
# sslKeyPath = "/var/lib/acme/${domain}/key.pem";
77
77
-
# dhParamPath = config.security.dhparams.params.hedgedoc.path;
78
78
-
# };
79
79
-
80
80
-
# # https://github.com/settings/applications/2352617
81
81
-
# environmentFile = config.clanCore.facts.secretUploadDirectory + "/hedgedoc.env";
82
82
-
# };
83
83
-
84
84
-
# clanCore.facts.services.hedgedoc-github-auth = {
85
85
-
# secret."hedgedoc.env" = { };
86
86
-
# generator.script = ''
87
87
-
# echo "$prompt_value" > "$secrets"/hedgedoc.env
88
88
-
# '';
89
89
-
# generator.prompt = ''
90
90
-
# goto https://github.com/settings/applications/2352617 and paste the data in the following format:
91
91
-
# GITHUB_CLIENT_ID=...
92
92
-
# GITHUB_CLIENT_SECRET=...
93
93
-
# '';
94
94
-
# };
95
95
-
}
-1
machines/prism/config.nix
View file
Reviewed
···
158
158
};
159
159
}
160
160
../../2configs/minecraft.nix
161
161
-
../../2configs/codimd.nix
162
161
{
163
162
lass.nichtparasoup.enable = true;
164
163
services.nginx = {