From 567c69cd8f7e689d274ad7199fad0c03b05c9b72 Mon Sep 17 00:00:00 2001 From: blahai Date: Sun, 12 Jan 2025 22:51:32 +0200 Subject: [PATCH] Hyprland stuffies --- hosts/nyx/home.nix | 6 +++++- modules/home-manager/hypr/hyprland/execs.nix | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/hosts/nyx/home.nix b/hosts/nyx/home.nix index 841181b..e490254 100644 --- a/hosts/nyx/home.nix +++ b/hosts/nyx/home.nix @@ -207,7 +207,11 @@ clang ]; - home.sessionVariables = {EDITOR = "nvim";}; + home.sessionVariables = { + EDITOR = "nvim"; + NIXOS_OZONE_WL = "1"; + MOZ_ENABLE_WAYLAND = "1"; + }; home.file.".cargo/config.toml".text = '' [target.x86_64-unknown-linux-gnu] diff --git a/modules/home-manager/hypr/hyprland/execs.nix b/modules/home-manager/hypr/hyprland/execs.nix index bac9a6d..e9346c8 100644 --- a/modules/home-manager/hypr/hyprland/execs.nix +++ b/modules/home-manager/hypr/hyprland/execs.nix @@ -8,7 +8,9 @@ exec-once = [ "${pkgs.swww}/bin/swww-daemon --format xrgb" "${pkgs.floorp}/bin/floorp" - "sleep 3; ${pkgs.vesktop}/bin/vesktop" + "sleep 1; ${pkgs.vesktop}/bin/vesktop --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true" + "exec-once = wl-paste --type text --watch cliphist store" + "exec-once = wl-paste --type image --watch cliphist store" "JKPS" "ags" ];