Use pipewire
Screen sharing doesn't seem to work yet
This commit is contained in:
parent
ffb8372119
commit
44686f804f
2 changed files with 10 additions and 8 deletions
|
@ -2,14 +2,10 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
hardware.pulseaudio = {
|
services.pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
alsa.enable = true;
|
||||||
|
jack.enable = true;
|
||||||
|
pulse.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# PulseAudio doesn't play nice with symlinks
|
|
||||||
systemd.user.services.pulseaudio.environment = lib.mkIf config.chvp.zfs.enable {
|
|
||||||
XDG_CONFIG_HOME = "/data/home/charlotte/.config";
|
|
||||||
};
|
|
||||||
|
|
||||||
users.users.charlotte.extraGroups = [ "audio" ];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,11 @@ in
|
||||||
{
|
{
|
||||||
services.dbus.packages = with pkgs; [ gnome3.dconf ];
|
services.dbus.packages = with pkgs; [ gnome3.dconf ];
|
||||||
security.pam.services.swaylock = { };
|
security.pam.services.swaylock = { };
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
gtkUsePortal = true;
|
||||||
|
extraPortals = [ pkgs.xdg-desktop-portal-wlr ];
|
||||||
|
};
|
||||||
home-manager.users.charlotte = { pkgs, lib, ... }: {
|
home-manager.users.charlotte = { pkgs, lib, ... }: {
|
||||||
home.packages = [ color-picker screenshot ];
|
home.packages = [ color-picker screenshot ];
|
||||||
programs.mako = {
|
programs.mako = {
|
||||||
|
@ -139,6 +144,7 @@ in
|
||||||
'';
|
'';
|
||||||
extraSessionCommands = ''
|
extraSessionCommands = ''
|
||||||
export XDG_SESSION_TYPE=wayland
|
export XDG_SESSION_TYPE=wayland
|
||||||
|
export XDG_CURRENT_DESKTOP=sway
|
||||||
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
||||||
export QT_AUTO_SCREEN_SCALE_FACTOR=0
|
export QT_AUTO_SCREEN_SCALE_FACTOR=0
|
||||||
export QT_SCALE_FACTOR=1
|
export QT_SCALE_FACTOR=1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue