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"; }