Compare commits
No commits in common. "eb1c0dba4ddbb5b03b78a54e8921a44329dcf5d2" and "2f0af1d11386d58f8aac82f42aa63112027b4c76" have entirely different histories.
eb1c0dba4d
...
2f0af1d113
2 changed files with 4 additions and 92 deletions
|
|
@ -69,7 +69,6 @@ in {
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"d /home/${username}/notebooks 0750 ${username} users -"
|
"d /home/${username}/notebooks 0750 ${username} users -"
|
||||||
"d /etc/nextcloud-secrets 0750 nextcloud nextcloud -"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.etc."jupyter/jupyter_server_config.py".text = ''
|
environment.etc."jupyter/jupyter_server_config.py".text = ''
|
||||||
|
|
@ -96,10 +95,6 @@ in {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
root = "${site}";
|
root = "${site}";
|
||||||
};
|
};
|
||||||
virtualHosts."nextcloud.tadix.dev" = {
|
|
||||||
enableACME = true;
|
|
||||||
forceSSL = true;
|
|
||||||
};
|
|
||||||
virtualHosts."git.tadix.dev" = {
|
virtualHosts."git.tadix.dev" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
@ -112,15 +107,6 @@ in {
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
locations."/api/" = {
|
|
||||||
proxyPass = "http://127.0.0.1:3000";
|
|
||||||
extraConfig = ''
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
add_header 'Access-Control-Allow-Origin' 'https://tadix.dev' always;
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
virtualHosts."biolab.tadix.dev" = {
|
virtualHosts."biolab.tadix.dev" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
|
@ -143,63 +129,6 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nextcloud = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.nextcloud32;
|
|
||||||
hostName = "nextcloud.tadix.dev";
|
|
||||||
https = true;
|
|
||||||
database.createLocally = true;
|
|
||||||
config = {
|
|
||||||
adminuser = "ltadeu6";
|
|
||||||
adminpassFile = "/etc/nextcloud-secrets/admin-password";
|
|
||||||
dbtype = "pgsql";
|
|
||||||
};
|
|
||||||
phpOptions."opcache.interned_strings_buffer" = "16";
|
|
||||||
settings = {
|
|
||||||
default_phone_region = "BR";
|
|
||||||
maintenance_window_start = 1;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
systemd.services.nextcloud-minimize = {
|
|
||||||
description = "Configure Nextcloud for minimal file-storage use";
|
|
||||||
after = [ "nextcloud-setup.service" ];
|
|
||||||
requires = [ "nextcloud-setup.service" ];
|
|
||||||
wantedBy = [ "multi-user.target" ];
|
|
||||||
serviceConfig = {
|
|
||||||
Type = "oneshot";
|
|
||||||
RemainAfterExit = true;
|
|
||||||
User = "nextcloud";
|
|
||||||
Group = "nextcloud";
|
|
||||||
};
|
|
||||||
unitConfig.X-Restart-Triggers = [
|
|
||||||
(builtins.toFile "nextcloud-minimize-trigger" ''
|
|
||||||
defaultapp=files
|
|
||||||
disabled=activity,calendar,contacts,dashboard,firstrunwizard,photos,weather_status,circles,recommendations,user_status,systemtags
|
|
||||||
theme=dark,#7aa2f7,plain
|
|
||||||
repair=mimetypes
|
|
||||||
'')
|
|
||||||
];
|
|
||||||
script = ''
|
|
||||||
set -eu
|
|
||||||
occ=/run/current-system/sw/bin/nextcloud-occ
|
|
||||||
|
|
||||||
$occ config:system:set defaultapp --value=files
|
|
||||||
|
|
||||||
for app in activity calendar contacts dashboard firstrunwizard photos weather_status circles recommendations user_status systemtags; do
|
|
||||||
$occ app:disable "$app" 2>/dev/null || true
|
|
||||||
done
|
|
||||||
|
|
||||||
$occ config:app:set theming defaultColorScheme --value=dark
|
|
||||||
$occ config:app:set theming color --value="#7aa2f7"
|
|
||||||
$occ config:app:set theming background --value="plain"
|
|
||||||
$occ config:app:set theming name --value="Files"
|
|
||||||
$occ config:app:set theming slogan --value=""
|
|
||||||
|
|
||||||
$occ maintenance:repair --include-expensive
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
services.forgejo = {
|
services.forgejo = {
|
||||||
enable = true;
|
enable = true;
|
||||||
database.type = "sqlite3";
|
database.type = "sqlite3";
|
||||||
|
|
@ -212,11 +141,6 @@ in {
|
||||||
};
|
};
|
||||||
service.DISABLE_REGISTRATION = true;
|
service.DISABLE_REGISTRATION = true;
|
||||||
log.LEVEL = "Warn";
|
log.LEVEL = "Warn";
|
||||||
cors = {
|
|
||||||
ENABLED = true;
|
|
||||||
ALLOW_DOMAIN = "tadix.dev";
|
|
||||||
METHODS = "GET,HEAD,OPTIONS";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,20 +23,10 @@
|
||||||
<section>
|
<section>
|
||||||
<h2>PROJECTS</h2>
|
<h2>PROJECTS</h2>
|
||||||
<p>
|
<p>
|
||||||
<a href="https://git.tadix.dev/ltadeu6/BioLab">BioLab</a>
|
<a href="https://biolab.tadix.dev">BioLab</a>
|
||||||
<span class="dim"> — web tool for kinetic parameter estimation from experimental growth data.<br>
|
<span class="dim"> — bioprocess modeling and parameter estimation tool</span>
|
||||||
Fits seven microbial models simultaneously via PSO and ranks results by AIC.</span>
|
<br>
|
||||||
<br><span class="dim"><a href="https://biolab.tadix.dev">live</a></span>
|
<span class="dim"><a href="https://git.tadix.dev/ltadeu6/BioLab">source</a> · <a href="https://biolab.tadix.dev">live</a></span>
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<a href="https://git.tadix.dev/ltadeu6/matrix-android">matrix-android</a>
|
|
||||||
<span class="dim"> — minimal Android Matrix client with a terminal aesthetic.<br>
|
|
||||||
Text-only, E2EE via libolm, SSO login.</span>
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
<a href="https://git.tadix.dev/ltadeu6/Nixos-Config">nixos-config</a>
|
|
||||||
<span class="dim"> — NixOS and Home Manager config for desktop and Oracle VPS.<br>
|
|
||||||
Covers system services, secrets via agenix, Hyprland, and self-hosted infrastructure.</span>
|
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
@ -52,8 +42,6 @@
|
||||||
<a href="https://github.com/ltadeu6">github</a>
|
<a href="https://github.com/ltadeu6">github</a>
|
||||||
<a href="https://git.tadix.dev">git</a>
|
<a href="https://git.tadix.dev">git</a>
|
||||||
<a href="https://jupyter.tadix.dev">jupyter</a>
|
<a href="https://jupyter.tadix.dev">jupyter</a>
|
||||||
<a href="https://nextcloud.tadix.dev">nextcloud</a>
|
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue