From 9ab8cf34ac7ef6e04eb9a8a26841c3e89abafb35 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Tue, 25 Jun 2024 02:11:01 +0200 Subject: [PATCH] Persist tuigreet previous session & user data --- system/roles/workstation/display/login/greetd.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/system/roles/workstation/display/login/greetd.nix b/system/roles/workstation/display/login/greetd.nix index b6e60a7..c366e87 100644 --- a/system/roles/workstation/display/login/greetd.nix +++ b/system/roles/workstation/display/login/greetd.nix @@ -59,5 +59,8 @@ in { TTYVHangup = true; TTYVTDisallocate = true; }; + + # Persist info about previous session & user + myOptions.system.impermanence.root.extraDirectories = [ "/var/cache/tuigreet" ]; }; }