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 = {