From 5389f2c5ad28c971a3f245f4b65935eadbf8eff5 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Tue, 14 Apr 2026 17:49:16 +0200 Subject: modules/ly: Avoid dumping logs and cache files into `$HOME` --- modules/by-name/ly/ly/module.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'modules') diff --git a/modules/by-name/ly/ly/module.nix b/modules/by-name/ly/ly/module.nix index 32459783..3f2607ec 100644 --- a/modules/by-name/ly/ly/module.nix +++ b/modules/by-name/ly/ly/module.nix @@ -64,6 +64,12 @@ in { } ]; + home-manager.users.soispha = { + home.sessionVariables = { + XCOMPOSECACHE = "${config.home-manager.users.soispha.xdg.cacheHome}/X11/xcompose"; + }; + }; + services.displayManager.ly = { enable = true; x11Support = false; @@ -85,6 +91,8 @@ in { # Clear the password on failure. clear_password = true; + session_log = "${config.home-manager.users.soispha.xdg.dataHome}/ly/ly-session.log"; + clock = "%c"; hibernate_cmd = "systemctl hibernate"; -- cgit 1.4.1