Skip to content

Commit

Permalink
[chore]: add NIXOS_OZONE_WL
Browse files Browse the repository at this point in the history
  • Loading branch information
rxyhn committed Jan 6, 2024
1 parent 340dd2b commit 0aed80f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions hosts/modules/desktop/wayland.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{pkgs, ...}: {
environment.variables.NIXOS_OZONE_WL = "1";

nix.settings = {
substituters = [
"https://hyprland.cachix.org"
Expand All @@ -14,11 +16,13 @@
rtkit.enable = true;
};

environment.variables.GTK_USE_PORTAL = "1";

xdg.portal = {
enable = true;
config.common.default = "*";
xdgOpenUsePortal = true;
config = {
common.default = ["gtk"];
hyprland.default = ["gtk" "hyprland"];
};
extraPortals = [
pkgs.xdg-desktop-portal-gtk
pkgs.xdg-desktop-portal-hyprland
Expand Down

0 comments on commit 0aed80f

Please sign in to comment.