From 4c195adeb0c71c750056c020e8aa0d82a3477f35 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Tue, 28 Nov 2023 14:25:04 -0700 Subject: [PATCH] h: switch to mimalloc for the memory allocator --- hosts/h/default.nix | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/hosts/h/default.nix b/hosts/h/default.nix index 8925541..117019c 100644 --- a/hosts/h/default.nix +++ b/hosts/h/default.nix @@ -207,23 +207,26 @@ in }; }; - environment.systemPackages = with pkgs; [ - inetutils + environment = { + memoryAllocator.provider = "mimalloc"; + systemPackages = with pkgs; [ + inetutils - # irc - weechat - weechatScripts.highmon - aspell - aspellDicts.en - icbirc + # irc + weechat + weechatScripts.highmon + aspell + aspellDicts.en + icbirc - # matrix things - matrix-synapse-tools.synadm - matrix-synapse-tools.rust-synapse-compress-state - mcchunkie + # matrix things + matrix-synapse-tools.synadm + matrix-synapse-tools.rust-synapse-compress-state + mcchunkie - zonemaster-cli - ]; + zonemaster-cli + ]; + }; security.acme = { acceptTerms = true;