mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
Disable autoupgrade
This commit is contained in:
parent
a2a01eb868
commit
47bdada7e8
3 changed files with 33 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
{config, ...}: {
|
{config, ...}: {
|
||||||
system.autoUpgrade = {
|
system.autoUpgrade = {
|
||||||
enable = true;
|
enable = false;
|
||||||
flake = "github:kittywitch/infrastructure#${config.networking.hostName}";
|
flake = "github:kittywitch/infrastructure#${config.networking.hostName}";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,31 @@ in {
|
||||||
registration_shared_secret = "!!MATRIX_SHARED_REGISTRATION_SECRET!!";
|
registration_shared_secret = "!!MATRIX_SHARED_REGISTRATION_SECRET!!";
|
||||||
allow_guest_access = true;
|
allow_guest_access = true;
|
||||||
suppress_key_server_warning = true;
|
suppress_key_server_warning = true;
|
||||||
|
log_config = pkgs.writeText "nya.yaml" ''
|
||||||
|
version: 1
|
||||||
|
formatters:
|
||||||
|
precise:
|
||||||
|
format: '%(asctime)s - %(name)s - %(lineno)d - %(levelname)s - %(request)s - %(message)s'
|
||||||
|
filters:
|
||||||
|
context:
|
||||||
|
(): synapse.util.logcontext.LoggingContextFilter
|
||||||
|
request: ""
|
||||||
|
handlers:
|
||||||
|
console:
|
||||||
|
class: logging.StreamHandler
|
||||||
|
formatter: precise
|
||||||
|
filters: [context]
|
||||||
|
loggers:
|
||||||
|
synapse:
|
||||||
|
level: WARNING
|
||||||
|
synapse.storage.SQL:
|
||||||
|
# beware: increasing this to DEBUG will make synapse log sensitive
|
||||||
|
# information such as access tokens.
|
||||||
|
level: WARNING
|
||||||
|
root:
|
||||||
|
level: WARNING
|
||||||
|
handlers: [console]
|
||||||
|
'';
|
||||||
listeners = [
|
listeners = [
|
||||||
{
|
{
|
||||||
port = 8009;
|
port = 8009;
|
||||||
|
|
|
||||||
|
|
@ -4,16 +4,19 @@
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
networking.firewall = {
|
||||||
|
allowedTCPPorts = [25565 8123];
|
||||||
|
};
|
||||||
services.minecraft-servers = {
|
services.minecraft-servers = {
|
||||||
enable = true;
|
enable = false;
|
||||||
eula = true;
|
eula = false;
|
||||||
environmentFile = pkgs.writeText "aaaa" ''
|
environmentFile = pkgs.writeText "aaaa" ''
|
||||||
QUILT_LOADER_DISABLE_BEACON=true
|
QUILT_LOADER_DISABLE_BEACON=true
|
||||||
'';
|
'';
|
||||||
servers.arkamew = let
|
servers.arkamew = let
|
||||||
modpack = inputs.minecraft.legacyPackages.${pkgs.system}.fetchPackwizModpack {
|
modpack = inputs.minecraft.legacyPackages.${pkgs.system}.fetchPackwizModpack {
|
||||||
url = "https://github.com/kittywitch/arka-modpack/raw/main/pack.toml";
|
url = "https://github.com/kittywitch/arka-modpack/raw/main/pack.toml";
|
||||||
packHash = "sha256-4Fa8xB0CpeANzjRg7B0RUEHepJvnVGFfgTPq7NLa8mM=";
|
packHash = "sha256-b198Q2eCf8xN3X6SJEIbFZB/PxC4vYcjiQSoeVjWyEk=";
|
||||||
manifestHash = "sha256:17lg9syx1ddggyq2h8a92frg4lpr2xc7ryh30bniv9dhymr0vc23";
|
manifestHash = "sha256:17lg9syx1ddggyq2h8a92frg4lpr2xc7ryh30bniv9dhymr0vc23";
|
||||||
side = "both";
|
side = "both";
|
||||||
};
|
};
|
||||||
|
|
@ -21,7 +24,7 @@
|
||||||
quiltVersion = modpack.manifest.versions.quilt;
|
quiltVersion = modpack.manifest.versions.quilt;
|
||||||
serverVersion = lib.replaceStrings ["."] ["_"] "quilt-${mcVersion}-${quiltVersion}";
|
serverVersion = lib.replaceStrings ["."] ["_"] "quilt-${mcVersion}-${quiltVersion}";
|
||||||
in {
|
in {
|
||||||
enable = true;
|
enable = false;
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
whitelist = {
|
whitelist = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue