diff --git a/.gitignore b/.gitignore index 33e3d466..911687dc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ nix/ nix/sources.json nix/sources.nix +.direnv +.pre-commit-config.yaml diff --git a/home/core/gui/hypr/cnst.nix b/home/core/gui/hypr/cnst.nix index c0fd686c..269a740c 100644 --- a/home/core/gui/hypr/cnst.nix +++ b/home/core/gui/hypr/cnst.nix @@ -8,10 +8,10 @@ systemd = { variables = ["--all"]; - # extraCommands = [ - # "systemctl --user stop graphical-session.target" - # "systemctl --user start hyprland-session.target" - # ]; + extraCommands = [ + "systemctl --user stop graphical-session.target" + "systemctl --user start hyprland-session.target" + ]; }; }; } diff --git a/home/core/gui/hypr/land/cnst/inputs.nix b/home/core/gui/hypr/land/cnst/inputs.nix index 6a48ced3..31f210ad 100644 --- a/home/core/gui/hypr/land/cnst/inputs.nix +++ b/home/core/gui/hypr/land/cnst/inputs.nix @@ -6,12 +6,6 @@ ]; env = [ "QT_WAYLAND_DISABLE_WINDOWDECORATION,1" - - "XDG_SESSION_DESKTOP, Hyprland" - - "GDK_BACKEND, wayland" - "SDL_VIDEODRIVER, wayland" - "QT_QPA_PLATFORM, wayland;xcb" ]; input = { diff --git a/home/users/cnst/default.nix b/home/users/cnst/default.nix index f9cecde5..6fd6d1e0 100644 --- a/home/users/cnst/default.nix +++ b/home/users/cnst/default.nix @@ -40,6 +40,10 @@ BROWSER = "firefox"; EDITOR = "nvim"; TERM = "foot"; + + QT_QPA_PLATFORM = "wayland"; + SDL_VIDEODRIVER = "wayland"; + XDG_SESSION_TYPE = "wayland"; }; }; # disable manuals as nmd fails to build often