nixbook: fix hyprland screen sharing again

This commit is contained in:
Tristan 2024-05-31 13:53:41 +01:00
parent b56eb2a8b6
commit c98d05bc0a
2 changed files with 9 additions and 2 deletions

View file

@ -16,12 +16,15 @@ in {
xdg.portal = {
enable = true;
configPackages = [pkgs.hyprland];
extraPortals = [pkgs.xdg-desktop-portal-hyprland pkgs.xdg-desktop-portal-gtk];
extraPortals = [pkgs.xdg-desktop-portal-gtk];
};
wayland.windowManager.hyprland = {
enable = true;
systemd.enable = true;
systemd = {
enable = true;
variables = ["--all"];
};
settings = {
exec-once = ["${pkgs.swaybg}/bin/swaybg -i ${config.stylix.image} -m fill"];
input = {

View file

@ -10,6 +10,10 @@
"electron-25.9.0"
];
programs.hyprland = {
enable = true;
};
# use pipewire
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;