summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/nixos/environment.nix8
-rw-r--r--modules/nixos/minecraft-server.nix4
2 files changed, 7 insertions, 5 deletions
diff --git a/modules/nixos/environment.nix b/modules/nixos/environment.nix
index 4fdd495..7733123 100644
--- a/modules/nixos/environment.nix
+++ b/modules/nixos/environment.nix
@@ -11,13 +11,15 @@
variables = {
# PATH = "/home/defin/.local/share/gem/ruby/3.0.0/bin:";
# PAGER = "sh -c 'col -bx | bat -f'";
- SSH_AGENT_PID="";
- SSH_AUTH_SOCK="\${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh";
+ SSH_AGENT_PID = "";
+ SSH_AUTH_SOCK = "\${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh";
MANPAGER = "sh -c 'col -bx | bat -l man -p'";
EDITOR = "hx";
ZEIT_DB = "/home/defin/Documents/zeit";
- NIXPKGS_ALLOW_INSECURE="1";
+ NIXPKGS_ALLOW_INSECURE = "1";
MANROFFOPT = "-c";
+ SYSTEMD_LESS = "FRSXM";
+ SYSTEMD_PAGER = "less -FRSXM";
};
};
}
diff --git a/modules/nixos/minecraft-server.nix b/modules/nixos/minecraft-server.nix
index 6ade951..c365af6 100644
--- a/modules/nixos/minecraft-server.nix
+++ b/modules/nixos/minecraft-server.nix
@@ -54,8 +54,8 @@ in {
# jvmOpts = jvmOpts + " " + (concatStringsSep " " [
# "@libraries/net/minecraftforge/forge/1.18.2-40.2.4/unix_args.txt"
# ]);
- jvmMaxAllocation = "1024m";
- jvmInitialAllocation = "512m";
+ # jvmMaxAllocation = "1024m";
+ # jvmInitialAllocation = "512m";
jvmPackage = jre17;
# I believe these options match services.minecraft-server.serverProperties options