From 70ba953b43b422172da1e64d37654bc86d370394 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Mon, 22 Apr 2024 15:37:22 -0400 Subject: [PATCH] wlogout: read username from home-manager config --- homeManagerModules/apps/wlogout/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeManagerModules/apps/wlogout/default.nix b/homeManagerModules/apps/wlogout/default.nix index 3e47268f..b922e11f 100644 --- a/homeManagerModules/apps/wlogout/default.nix +++ b/homeManagerModules/apps/wlogout/default.nix @@ -12,7 +12,7 @@ layout = [ { label = "logout"; - action = "${pkgs.systemd}/bin/loginctl terminate-user $USER"; + action = "${pkgs.systemd}/bin/loginctl terminate-user ${config.home.username}"; text = "Logout"; keybind = "e"; }