From 61c00763350d2b952d2cb6e46c5d5f157bce83ff Mon Sep 17 00:00:00 2001 From: EinEtwas Date: Mon, 14 Oct 2024 20:39:47 +0200 Subject: [PATCH] fix: entice vesktop to use wayland --- home/packages.nix | 3 ++- modules/configuration.nix | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/home/packages.nix b/home/packages.nix index eb6eca6..428ade1 100644 --- a/home/packages.nix +++ b/home/packages.nix @@ -1,4 +1,4 @@ -{ pkgs, home-manager, ... }: +{ pkgs, nixpkgs, home-manager, ... }: { home.packages = with pkgs; [ vesktop @@ -16,4 +16,5 @@ nix-output-monitor expect # for the unbuffer command ]; + nixpkgs.config.vesktop.commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland"; } diff --git a/modules/configuration.nix b/modules/configuration.nix index 3b1df41..6d04bc1 100644 --- a/modules/configuration.nix +++ b/modules/configuration.nix @@ -71,6 +71,10 @@ #home-manager ]; + environment.sessionVariables = { + NIXOS_OZONE_WL = "1"; + }; + services.devmon.enable = true; services.gvfs.enable = true; services.udisks2.enable = true;