feat: first nextcloud steps
This commit is contained in:
parent
87d007696e
commit
f38e737aea
3 changed files with 23 additions and 1 deletions
|
|
@ -9,6 +9,7 @@
|
|||
in {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./nextcloud.nix
|
||||
inputs.mms.module
|
||||
];
|
||||
|
||||
|
|
|
|||
21
hosts/hitsugibune/nextcloud.nix
Normal file
21
hosts/hitsugibune/nextcloud.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{config}: {
|
||||
# This is only a temporary password and will be changed
|
||||
environment.etc."nextcloud-admin-pass".text = "samc";
|
||||
services.nextcloud = {
|
||||
enable = true;
|
||||
hostName = "sprechtl.ddns.net";
|
||||
https = true;
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts.${config.services.nextcloud.hostName} = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
};
|
||||
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
certs = {
|
||||
${config.services.nextcloud.hostName}.email = "stefan@tague.at";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -145,7 +145,7 @@ in {
|
|||
Session.AlternativeGlobalUPSpeedLimit = 1000;
|
||||
Session.BandwidthSchedulerEnabled = true;
|
||||
Session.ExcludedFileNames = "";
|
||||
Session.QueueingSystemEnabled = false;
|
||||
Session.QueueingSystemEnabled = false;
|
||||
Session.GlobalMaxInactiveSeedingMinutes = 1440;
|
||||
Session.GlobalMaxRatio = 2;
|
||||
Session.GlobalMaxSeedingMinutes = 1440;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue