fix: improve niri desktop
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user