fix: entice vesktop to use wayland

This commit is contained in:
EinEtwas 2024-10-14 20:39:47 +02:00
parent 0b04a81063
commit 61c0076335
2 changed files with 6 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, home-manager, ... }: { pkgs, nixpkgs, home-manager, ... }:
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
vesktop vesktop
@ -16,4 +16,5 @@
nix-output-monitor nix-output-monitor
expect # for the unbuffer command expect # for the unbuffer command
]; ];
nixpkgs.config.vesktop.commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland";
} }

View file

@ -71,6 +71,10 @@
#home-manager #home-manager
]; ];
environment.sessionVariables = {
NIXOS_OZONE_WL = "1";
};
services.devmon.enable = true; services.devmon.enable = true;
services.gvfs.enable = true; services.gvfs.enable = true;
services.udisks2.enable = true; services.udisks2.enable = true;