about summary refs log tree commit diff
path: root/modules/wayland.nix
diff options
context:
space:
mode:
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