diff --git a/nixy/configuration.nix b/nixy/configuration.nix index 0a62b4c..2e9387e 100644 --- a/nixy/configuration.nix +++ b/nixy/configuration.nix @@ -105,7 +105,7 @@ networking = { firewall = { enable = true; - allowedTCPPorts = [80 443 51820]; + allowedTCPPorts = [80 443 51820 8020]; }; hostName = "nixy"; @@ -455,6 +455,23 @@ logind.extraConfig = '' KillUserProcesses=yes ''; + + seafile = { + enable = true; + initialAdminPassword = "admin"; + adminEmail = "asmir.abdulahovic@gmail.com"; + ccnetSettings = { + General = { + SERVICE_URL = "http://127.0.0.1:8020"; + }; + }; + seafileSettings = { + fileserver = { + host = "0.0.0.0"; + port = 8082; + }; + }; + }; }; fonts = {