Seafile: Difference between revisions

Klinger (talk | contribs)
drop 24.05 compat
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:


As opposed to [[Nextcloud]], Seafile offers simpler user administration and much better file-server performance.
As opposed to [[Nextcloud]], Seafile offers simpler user administration and much better file-server performance.
{{note| It is recommended to install Seafile from <code>nixos-unstable</code>, since the current stable version (<code>24.05</code>) has an outdated version of Seafile}}


== Setup ==
== Setup ==
Line 67: Line 65:
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
   services.seafile = {
   services.seafile = {
    [...]
     seafileSettings = {
     seafileSettings = {
       quota.default = "50"; # Amount of GB allotted to users
       quota.default = "50"; # Amount of GB allotted to users
Line 76: Line 75:
       };
       };
     };
     };
    # Change the directory of the database
    dataDir = "/mnt/md0/seafile/data";


     # Enable weekly collection of freed blocks
     # Enable weekly collection of freed blocks