From b20b458febaa1944bb4e1a0ca1c365bd8d3faa3e Mon Sep 17 00:00:00 2001 From: "Rory&::Emma" Date: Thu, 4 Dec 2025 20:13:36 +0000 Subject: Old server tmpfs --- host/Rory-nginx/configuration.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/host/Rory-nginx/configuration.nix b/host/Rory-nginx/configuration.nix index 7ef5f46..f341f3f 100644 --- a/host/Rory-nginx/configuration.nix +++ b/host/Rory-nginx/configuration.nix @@ -56,6 +56,10 @@ nameservers = lib.mkForce [ "192.168.1.1" ]; }; + boot.tmp.useTmpfs = true; + boot.tmp.tmpfsSize = "75%"; + boot.tmp.tmpfsHugeMemoryPages = "within_size"; + monitoring = { monitorAll = true; localPrometheus = true; @@ -76,12 +80,6 @@ environment.memoryAllocator.provider = "jemalloc"; - #containers."matrixunittests" = import ./services/containers/matrixunittests/container.nix { - # inherit pkgs lib grapevine; - #}; - - #containers."draupnir-linux-mint" = import ./services/containers/draupnir-linux-mint/container.nix { inherit pkgs lib nixpkgs-Draupnir; }; - system.stateVersion = "22.11"; # DO NOT EDIT! environment.systemPackages = with pkgs; [ waypipe ]; -- cgit 1.5.1