From ff2547f3ed61308614ad1fe832a6ea741a12b6f9 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 6 May 2023 11:14:22 -0700 Subject: profiles/workstation: move sway to the workstation profile --- profiles/workstation.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'profiles/workstation.nix') diff --git a/profiles/workstation.nix b/profiles/workstation.nix index 3b422a6..7ed2a3f 100644 --- a/profiles/workstation.nix +++ b/profiles/workstation.nix @@ -87,4 +87,27 @@ # Use systemd-resolved services.resolved.enable = true; services.resolved.dnssec = "false"; + + xdg.portal = { + enable = true; + wlr.enable = true; + extraPortals = + [ pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-wlr ]; + }; + + programs.sway = { + enable = true; + wrapperFeatures.gtk = true; + extraPackages = with pkgs; [ + brightnessctl + polkit_gnome + xsettingsd + swaylock + swayidle + wl-clipboard + ]; + extraSessionCommands = '' + export MOZ_ENABLE_WAYLAND=1 + ''; + }; } -- cgit 1.4.1