Fix server 25.05 stuff
This commit is contained in:
parent
7a128968c2
commit
64151b3fa8
3 changed files with 7 additions and 7 deletions
|
@ -1,4 +1,7 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
services.cloudflare-dyndns.apiTokenFile = "${pkgs.writeText "cloudflareapikey" config.secrets.flareApiKey}";
|
||||
config = lib.mkIf config.services.cloudflare-dyndns.enable {
|
||||
services.cloudflare-dyndns.apiTokenFile = "/var/lib/private/cloudflare-dyndns/key";
|
||||
environment.persistence."/persist".directories = [ "/var/lib/private/cloudflare-dyndns" ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -12,10 +12,6 @@
|
|||
url = "https://download.geysermc.org/v2/projects/floodgate/versions/2.2.4/builds/116/downloads/velocity";
|
||||
sha256 = "0sinl47pdyc3zyi3jprjqh8ka754rz2r6gmyd27nq39qf31mbbvy";
|
||||
};
|
||||
"plugins/LuckPerms.jar" = builtins.fetchurl {
|
||||
url = "https://download.luckperms.net/1571/velocity/LuckPerms-Velocity-5.4.154.jar";
|
||||
sha256 = "03kqgxrf6ssclrwgyfxs521b7kswmpkk90kdwyaajkkx8hqvbqlc";
|
||||
};
|
||||
"plugins/SkinsRestorer.jar" = builtins.fetchurl {
|
||||
url = "https://github.com/SkinsRestorer/SkinsRestorer/releases/download/15.4.2/SkinsRestorer.jar";
|
||||
sha256 = "14nl9mi958bfqwqz9182cxj7m6l15kalq3wjmjqzy50s52si35wf";
|
||||
|
|
|
@ -7,12 +7,13 @@
|
|||
|
||||
config = lib.mkIf config.services.nextcloud.enable {
|
||||
services.nextcloud = {
|
||||
package = pkgs.nextcloud30;
|
||||
package = pkgs.nextcloud31;
|
||||
hostName = "files.nixfox.ca";
|
||||
https = true;
|
||||
config = {
|
||||
adminuser = config.sysusers.main;
|
||||
adminpassFile = "${pkgs.writeText "initial" config.secrets.initialPass}";
|
||||
dbtype = "sqlite";
|
||||
};
|
||||
settings = {
|
||||
trusted_proxies = [ "127.0.0.1" ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue