Compare commits
No commits in common. "80d135d5b295143a3f23fb44fcfef31f08a88ad6" and "6700e426619e13136f29fc2a0a8c7889141c5197" have entirely different histories.
80d135d5b2
...
6700e42661
2 changed files with 3 additions and 24 deletions
|
|
@ -76,8 +76,7 @@
|
|||
<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://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>
|
||||
<p class="emoji">🐙 <a href="https://github.com/jsw08" target="_blank">GitHub</a></p>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
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"];
|
||||
|
|
@ -35,15 +34,10 @@ 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 = {
|
||||
|
|
@ -60,28 +54,14 @@ 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