feat: harmonize pre inr code templates
All checks were successful
deploy to prod / Build and deploy site (push) Successful in 49s

This commit is contained in:
Douze Bé 2024-10-15 10:45:44 +02:00
parent 9532ec6eff
commit dea94a8bc8
5 changed files with 10 additions and 0 deletions

View file

@ -1,4 +1,5 @@
<template> <template>
<pre>
services.nginx = { services.nginx = {
virtualHosts.${cfg.settings.server.DOMAIN} = { virtualHosts.${cfg.settings.server.DOMAIN} = {
forceSSL = true; forceSSL = true;
@ -41,5 +42,6 @@
}; };
mailerPasswordFile = config.age.secrets.forgejo-mailer-password.path; mailerPasswordFile = config.age.secrets.forgejo-mailer-password.path;
}; };
</pre>
</template> </template>

View file

@ -1,4 +1,5 @@
<template> <template>
<pre>
virtualisation.containers.enable = true; virtualisation.containers.enable = true;
virtualisation.podman = { virtualisation.podman = {
enable = true; enable = true;
@ -30,5 +31,6 @@
]; ];
}; };
}; };
</pre>
</template> </template>

View file

@ -1,4 +1,5 @@
<template> <template>
<pre>
{ {
services.gotosocial = { services.gotosocial = {
enable = true; enable = true;
@ -32,5 +33,6 @@
}; };
}; };
} }
</pre>
</template> </template>

View file

@ -1,4 +1,5 @@
<template> <template>
<pre>
services.hedgedoc = { services.hedgedoc = {
enable = true; enable = true;
settings.domain = "hedgedoc.nixin.local"; settings.domain = "hedgedoc.nixin.local";
@ -10,5 +11,6 @@ services.hedgedoc = {
"hedgedoc.nixin.local" "hedgedoc.nixin.local"
]; ];
}; };
</pre>
</template> </template>

View file

@ -1,4 +1,5 @@
<template> <template>
<pre>
services.nextcloud = { services.nextcloud = {
enable = true; enable = true;
hostName = "nextcloud.tld"; hostName = "nextcloud.tld";
@ -10,5 +11,6 @@
}; };
networking.firewall.allowedTCPPorts = [ 80 443 ]; networking.firewall.allowedTCPPorts = [ 80 443 ];
</pre>
</template> </template>