about summary refs log tree commit diff
path: root/modules/wayland.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-06-24 11:10:21 +0300
committerAzat Bahawi <azat@bahawi.net>2024-06-24 11:10:21 +0300
commit75918debfd7245d90478f882b0323a705ab3c7be (patch)
tree26b8f0ab5a3e4d7c61963fa96d57250e5ddc9a7d /modules/wayland.nix
parent2024-06-19 (diff)
2024-06-24
Diffstat (limited to '')
-rw-r--r--modules/wayland.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/wayland.nix b/modules/wayland.nix
index e3dba79..7a9820d 100644
--- a/modules/wayland.nix
+++ b/modules/wayland.nix
@@ -14,6 +14,10 @@ in
   config = mkIf cfg.enable {
     nixfiles.modules.foot.enable = true;
 
-    hm.home.packages = with pkgs; [ wl-clipboard ];
+    hm.home = {
+      packages = with pkgs; [ wl-clipboard ];
+
+      sessionVariables.NIXOS_OZONE_WL = 1;
+    };
   };
 }

Consider giving Nix/NixOS a try! <3