From c12d54314eb3831d6e033946d2d5facdf7d285f8 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sun, 24 Mar 2024 18:25:18 -0400 Subject: [PATCH] fix: home-manager won't start with low mem issue caused by nix-index memory usage --- hosts/arrow/modules.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/arrow/modules.nix b/hosts/arrow/modules.nix index 7bfb155..c19ee65 100644 --- a/hosts/arrow/modules.nix +++ b/hosts/arrow/modules.nix @@ -20,6 +20,10 @@ services.caddy.enable = true; services.transmission.enable = true; + # nix-index seems to each up too much memory for Vultr + home-manager.users.${globals.user}.programs.nix-index.enable = + inputs.nixpkgs.lib.mkForce false; + virtualisation.vmVariant = { virtualisation.forwardPorts = [{ from = "host";