style: change sddm theme

This commit is contained in:
DACHXY 2025-01-08 17:24:22 +08:00
parent 6f4a849ddb
commit 9e46058abb
5 changed files with 79 additions and 5 deletions

View file

@ -1,11 +1,19 @@
{ pkgs, ... }:
let
themeConfig = {
bgVidDay = "playlist/day.m3u";
bgVidNight = "playlist/night.m3u";
};
in
{
services = {
displayManager = {
sddm.wayland.enable = true;
sddm.enable = true;
sddm.theme = "${import ./sddm-theme.nix { inherit pkgs; }}";
sddm.theme = "${pkgs.callPackage ./../../pkgs/sddm-themes/gruvbox.nix {
inherit pkgs themeConfig;
}}";
};
};
}