about summary refs log tree commit diff
path: root/modules/wayland.nix
diff options
context:
space:
mode:
authorazahi <azat@bahawi.net>2024-11-10 01:08:38 +0300
committerazahi <azat@bahawi.net>2024-11-10 01:08:38 +0300
commit693768ee37098dbebb38c86e27044f2faa38348d (patch)
tree37c92a1c83cf22fa5e5a570baa8598ba6063c795 /modules/wayland.nix
parent2024-10-29 (diff)
2024-11-10 HEAD master
Diffstat (limited to 'modules/wayland.nix')
-rw-r--r--modules/wayland.nix14
1 files changed, 12 insertions, 2 deletions
diff --git a/modules/wayland.nix b/modules/wayland.nix
index 7a9820d..1ad4fe3 100644
--- a/modules/wayland.nix
+++ b/modules/wayland.nix
@@ -15,9 +15,19 @@ in
     nixfiles.modules.foot.enable = true;
 
     hm.home = {
-      packages = with pkgs; [ wl-clipboard ];
+      packages = with pkgs; [
+        grim
+        slurp
+        wl-clipboard
+        wlr-randr
+      ];
 
-      sessionVariables.NIXOS_OZONE_WL = 1;
+      sessionVariables = {
+        NIXOS_OZONE_WL = 1;
+        QT_QPA_PLATFORM = "wayland";
+        SDL_VIDEODRIVER = "wayland";
+        XDG_SESSION_TYPE = "wayland";
+      };
     };
   };
 }

Consider giving Nix/NixOS a try! <3