From 23ae487c029c52c6a7199a2349ba6dff174c93be Mon Sep 17 00:00:00 2001 From: s-prechtl Date: Wed, 5 Mar 2025 09:34:16 +0100 Subject: [PATCH] feat: focus_on_activate, remove virtualbox --- hosts/default/configuration.nix | 19 ++++++++++--------- modules/home-manager/hyprland.nix | 5 +++++ 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 8910351..f7f4b60 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -227,15 +227,16 @@ setSocketVariable = true; }; }; - virtualbox = { - host.enable = true; - guest = { - enable = true; - clipboard = true; - dragAndDrop = true; - seamless = true; - }; - }; + # Uncommented since it causes delay in rebuilding the config + # virtualbox = { + # host.enable = true; + # guest = { + # enable = true; + # clipboard = true; + # dragAndDrop = true; + # seamless = true; + # }; + # }; }; # Some programs need SUID wrappers, can be configured further or are diff --git a/modules/home-manager/hyprland.nix b/modules/home-manager/hyprland.nix index e180f13..9d942e5 100644 --- a/modules/home-manager/hyprland.nix +++ b/modules/home-manager/hyprland.nix @@ -147,6 +147,11 @@ ]; }; + misc = { + allow_session_lock_restore = true; + focus_on_activate = true; + }; + # EXEC ONCE exec-once = [ "waybar"