chore: switch back to nixos-unstable

This commit is contained in:
uku 2024-04-04 21:59:47 +02:00
parent 26480457ff
commit 8172ba6e27
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o
5 changed files with 56 additions and 64 deletions

View file

@ -2,31 +2,31 @@
cfTunnels."attic.uku3lig.net" = "http://localhost:6000";
services.atticd = {
enable = true;
credentialsFile = config.age.secrets.atticEnv.path;
enable = true;
credentialsFile = config.age.secrets.atticEnv.path;
settings = {
listen = "[::]:6000";
api-endpoint = "https://attic.uku3lig.net/";
settings = {
listen = "[::]:6000";
api-endpoint = "https://attic.uku3lig.net/";
storage = {
type = "local";
path = "/data/attic";
};
storage = {
type = "local";
path = "/data/attic";
};
chunking = {
nar-size-threshold = 65536; # 64 KiB
min-size = 16384; # 16 KiB
avg-size = 65536; # 64 KiB
max-size = 262144; # 256 KiB
};
chunking = {
nar-size-threshold = 65536; # 64 KiB
min-size = 16384; # 16 KiB
avg-size = 65536; # 64 KiB
max-size = 262144; # 256 KiB
};
compression.type = "zstd";
compression.type = "zstd";
garbage-collection = {
interval = "1 day";
default-retention-period = "6 weeks";
};
garbage-collection = {
interval = "1 day";
default-retention-period = "6 weeks";
};
};
}
};
}

View file

@ -1,28 +1,27 @@
{config, ...}: {
services = {
frp = {
enable = true;
role = "client";
settings = {
common = {
server_addr = "49.13.148.129";
server_port = 7000;
};
services.frp = {
enable = true;
role = "client";
settings = {
serverAddr = "49.13.148.129";
serverPort = 7000;
minecraft = {
proxies = [
{
name = "minecraft";
type = "tcp";
local_ip = "127.0.0.1";
local_port = 25565;
remote_port = 6000;
};
ragnamod7 = {
localIp = "127.0.0.1";
localPort = 25565;
remotePort = 6000;
}
{
name = "ragnamod7";
type = "tcp";
local_ip = "127.0.0.1";
local_port = 25566;
remote_port = 6001;
};
};
localIp = "127.0.0.1";
localPort = 25566;
remotePort = 6001;
}
];
};
};
@ -39,7 +38,7 @@
];
environment = {
EULA = "true";
MEMORY = "12G";
MEMORY = "10G";
USE_AIKAR_FLAGS = "true";
TYPE = "AUTO_CURSEFORGE";
CF_SLUG = "all-the-mods-8";
@ -59,7 +58,7 @@
];
environment = {
EULA = "true";
MEMORY = "12G";
MEMORY = "10G";
USE_AIKAR_FLAGS = "true";
TYPE = "AUTO_CURSEFORGE";
CF_SLUG = "ragnamod-vii";