fix: improve niri desktop

This commit is contained in:
2026-01-17 16:33:30 +01:00
parent 49e99e9de2
commit 724c5c176b

View File

@@ -1,8 +1,19 @@
{ pkgs, ... }:
{
programs.niri.enable = true;
services.dbus.enable = true;
services.logind.settings.Login = {
HandleLidSwitch = "suspend";
};
xdg = {
portal.enable = true;
portal.extraPortals = [ pkgs.xdg-desktop-portal-gnome ];
};
services.displayManager.sddm = {
enable = true;
wayland.enable = true;
};
}