nix: add a display manager (regreet)

This commit is contained in:
Nico 2025-05-03 16:15:57 +10:00
parent 156e0815c3
commit 68d2dc8cab

View file

@ -1,10 +1,20 @@
{ config, lib, pkgs, ... }:
{ config, lib, pkgs, self, ... }:
{
programs.hyprland.enable = true;
# Optional, hint electron apps to use wayland:
environment.sessionVariables.NIXOS_OZONE_WL = "1";
# display manager
programs.regreet = {
enable = true;
settings = {
GTK = {
application_prefer_dark_theme = true;
};
};
};
# have portals
xdg.portal.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];