Compare commits
6 commits
6700e42661
...
80d135d5b2
| Author | SHA1 | Date | |
|---|---|---|---|
| 80d135d5b2 | |||
| 2e6ad4b068 | |||
| 8a946c8009 | |||
| d2ad0c2591 | |||
| e5394f8966 | |||
|
|
2aed55df7a |
2 changed files with 24 additions and 3 deletions
|
|
@ -76,7 +76,8 @@
|
|||
<p>Hello! I'm <b>jsw</b>, a frontend web developer with experience in <b>Svelte + TS</b>, <b>Nix(OS)</b> and currently learning <b>Rust</b>. This site is still under development, so please bear with me. In the meantime, feel free to reach out via email or explore my projects on GitHub.</p>
|
||||
<div class="contact">
|
||||
<p class="emoji">📧 <a href="mailto:info@jsw.tf">info@jsw.tf</a></p>
|
||||
<p class="emoji">🐙 <a href="https://github.com/jsw08" target="_blank">GitHub</a></p>
|
||||
<p class="emoji">🔨 <a href="https://git.jsw.tf/jsw" target="_blank">Personal git</a></p>
|
||||
<p class="emoji">🐙 <a href="https://github.com/jsw08" target="_blank">GitHub (legacy)</a></p>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
host = "cloud.jsw.tf";
|
||||
nginxRoot = config.services.nginx.virtualHosts.${host}.root;
|
||||
fpmSocket = config.services.phpfpm.pools.nextcloud.socket;
|
||||
imaginaryPort = 9005;
|
||||
in {
|
||||
config = lib.mkIf server {
|
||||
users.groups.nextcloud.members = ["nextcloud" "caddy"];
|
||||
|
|
@ -34,10 +35,15 @@ in {
|
|||
calendar
|
||||
contacts
|
||||
mail
|
||||
notes
|
||||
tasks
|
||||
user_oidc
|
||||
phonetrack
|
||||
;
|
||||
external = pkgs.fetchNextcloudApp {
|
||||
# https://github.com/helsinki-systems/nc4nix/blob/main/31.json #NOTE: 31.json is version.
|
||||
hash = "sha256-xVrnahqgXIXjk9gukrFgpwZiT2poUIDl83xV8hXPisw=";
|
||||
url = "https://github.com/nextcloud-releases/external/releases/download/v6.0.2/external-v6.0.2.tar.gz";
|
||||
license = "agpl3Plus";
|
||||
};
|
||||
};
|
||||
|
||||
settings = {
|
||||
|
|
@ -54,14 +60,28 @@ in {
|
|||
"OC\\Preview\\TXT"
|
||||
"OC\\Preview\\XBitmap"
|
||||
"OC\\Preview\\HEIC"
|
||||
"OC\Preview\Imaginary"
|
||||
];
|
||||
preview_imaginary_url = "http://localhost:${builtins.toString imaginaryPort}";
|
||||
preview_format = "webp";
|
||||
|
||||
trusted_proxies = ["127.0.0.1"];
|
||||
maintenance_window_start = 1;
|
||||
log_type = "file";
|
||||
};
|
||||
phpOptions."opcache.interned_strings_buffer" = 24;
|
||||
config = {
|
||||
adminuser = "jsw-admin";
|
||||
adminpassFile = "${config.age.secrets.nextcloud-admin-pass.path}";
|
||||
dbtype = "pgsql";
|
||||
};
|
||||
};
|
||||
imaginary = {
|
||||
enable = true;
|
||||
port = imaginaryPort;
|
||||
address = "localhost";
|
||||
settings.returnSize = true;
|
||||
};
|
||||
|
||||
nginx.enable = lib.mkForce false;
|
||||
phpfpm.pools.nextcloud.settings = let
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue