From 68d2dc8cabf3a926909e2a8144021043295380ce Mon Sep 17 00:00:00 2001 From: Nico Date: Sat, 3 May 2025 16:15:57 +1000 Subject: [PATCH] nix: add a display manager (regreet) --- nix/modules/hyprland.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/nix/modules/hyprland.nix b/nix/modules/hyprland.nix index cf9594b..374e2b0 100644 --- a/nix/modules/hyprland.nix +++ b/nix/modules/hyprland.nix @@ -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 ];