diff --git a/modules/desktop/window-managers/hyprland.nix b/modules/desktop/window-managers/hyprland.nix index 71ab028..1af7c2f 100644 --- a/modules/desktop/window-managers/hyprland.nix +++ b/modules/desktop/window-managers/hyprland.nix @@ -6,13 +6,6 @@ flake, ... }: -let - activate-snippet = '' - if [ -z "$WAYLAND_DISPLAY" ] && [ "$XDG_VTNR" = 1 ]; then - exec Hyprland - fi - ''; -in mkOizysModule config "hyprland" { programs.hyprland = enabled; @@ -62,20 +55,30 @@ mkOizysModule config "hyprland" { # # dunst ]); - - services.getty = { - extraArgs = [ "--skip-login" ]; - loginOptions = "-p -- ${config.oizys.user}"; - }; - - environment.etc = { - "bashrc.local".text = activate-snippet; - "zshenv.local".text = activate-snippet; - }; - nixpkgs.overlays = [ (flake.overlay "hyprland-contrib") # (overlayFrom "nixpkgs-wayland") # (overlayFrom "hyprland") ]; + # using the below to autostart Hyprland + # broke my keybindings that were working before + # services.getty = { + # extraArgs = [ "--skip-login" ]; + # loginOptions = "-p -- ${config.oizys.user}"; + # }; + # + # environment.etc = + # let + # activate-snippet = '' + # if [ -z "$WAYLAND_DISPLAY" ] && [ "$XDG_VTNR" = 1 ]; then + # exec Hyprland + # fi + # ''; + # in + # { + # "bashrc.local".text = activate-snippet; + # "zshenv.local".text = activate-snippet; + # }; + # + }