diff --git a/modules/desktop/hyprland/default.nix b/modules/desktop/hyprland/default.nix index 47cb0bb..4990678 100644 --- a/modules/desktop/hyprland/default.nix +++ b/modules/desktop/hyprland/default.nix @@ -8,6 +8,8 @@ settings = { + exec-once = [ "hyprlock || hyprctl dispatch exit" ]; + misc.disable_hyprland_logo = true; general = { diff --git a/modules/nixos/default.nix b/modules/nixos/default.nix index 6717187..d4619b8 100644 --- a/modules/nixos/default.nix +++ b/modules/nixos/default.nix @@ -32,9 +32,12 @@ services.greetd = { enable = true; - settings.default_session = { - command = "hyprland"; - user = "larstvei"; + settings = rec { + initial_session = { + command = "hyprland > /dev/null 2>&1"; + user = "larstvei"; + }; + default_session = initial_session; }; };