From f75c32fcd5f2f722d0f2b9a144e444e5d14ba3f8 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Tue, 4 Jun 2024 14:47:40 +0200 Subject: [PATCH] [hyprland] style: various style improvements --- nix/systems/desktop.nix | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/nix/systems/desktop.nix b/nix/systems/desktop.nix index 404611d..7421ee0 100644 --- a/nix/systems/desktop.nix +++ b/nix/systems/desktop.nix @@ -8,12 +8,10 @@ }; # xdg portals - xdg.portal { - enable = true; - extraPortals = with pkgs; [ - xdg-desktop-portal-wlr - ]; - }; + xdg.portal.enable = true; + xdg.portal.extraPortals = with pkgs; [ + xdg-desktop-portal-wlr + ]; # gnome services.xserver.displayManager.gdm.enable = true; @@ -21,10 +19,8 @@ services.xserver.desktopManager.gnome.enable = true; # hyprland - programs.hyprland = { - enable = true; - xwayland.enable = true; - }; + programs.hyprland.enable = true; + programs.hyprland.xwayland.enable = true; # environment variables for hyprland environment.sessionVariables = {