Sway : Enable screen share.

This commit is contained in:
Dmitry Voronin 2024-03-28 10:09:22 +03:00
parent 30122e78d7
commit 1709aa466e
2 changed files with 9 additions and 12 deletions

View file

@ -28,17 +28,6 @@
wl-clipboard # Clipboard.
];
# Sound.
sound.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
# Sway.
programs.sway = {
enable = true;
@ -51,6 +40,11 @@
];
};
# Portals.
xdg.portal.wlr = {
enable = true;
};
# Brightness control.
programs.light.enable = true;

View file

@ -1,6 +1,9 @@
{ pkgs, ... }: {
# Disable profile switching on rebuild.
environment.variables.MOZ_LEGACY_PROFILES = "1";
environment.variables = {
MOZ_LEGACY_PROFILES = "1";
MOZ_ENABLE_WAYLAND = "1";
};
programs.firefox = {
enable = true;
package = pkgs.firefox-esr;