From 6efb57bd23dc82e001c9e00c30ff0f0cc92b55dd Mon Sep 17 00:00:00 2001 From: Antoine Vaure Date: Mon, 21 Oct 2024 01:13:51 +0200 Subject: [PATCH] TMPDIR in home if allegro --- home.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home.nix b/home.nix index 9874ddc..2cb2ca4 100644 --- a/home.nix +++ b/home.nix @@ -1,4 +1,4 @@ -{ inputs, config, lib, pkgs, username, ... }: +{ inputs, config, lib, pkgs, username, variant, ... }: { imports = [ @@ -138,7 +138,7 @@ QT_AUTO_SCREEN_SCALE_FACTOR = "1"; WLR_NO_HARDWARE_CURSORS = "1"; XCURSOR_SIZE = "24"; - }; + } // (if variant == "allegro" then { TMPDIR = "/home/${username}/tmp"; } else {}); home.keyboard.options = [ "caps:escape"