aboutsummaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'profiles')
-rw-r--r--profiles/workstation.nix23
1 files changed, 23 insertions, 0 deletions
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
+ '';
+ };
}