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;
}}";
};
};
}

View file

@ -47,9 +47,6 @@
gh # Github cli tool
gnumake
lm_sensors
libsForQt5.qt5.qtquickcontrols2
libsForQt5.qt5.qtgraphicaleffects
libsForQt5.qt5.qtsvg
openssl
openssl.dev
pkg-config # Include Lib
@ -93,6 +90,15 @@
# Thumbnail
ffmpegthumbnailer
# SDDM
libsForQt5.qt5.qtmultimedia
libsForQt5.qt5.qtquickcontrols2
libsForQt5.qt5.qtgraphicaleffects
libsForQt5.qt5.qtsvg
pkgs.gst_all_1.gst-libav
pkgs.gst_all_1.gstreamer
pkgs.gst_all_1.gst-plugins-good
])
++ [
inputs.ghostty.packages.${system}.default

View file

@ -1,15 +0,0 @@
{ pkgs }:
pkgs.stdenv.mkDerivation {
name = "sddm-theme";
src = pkgs.fetchFromGitHub {
owner = "gpskwlkr";
repo = "sddm-astronaut-theme";
rev = "468a100460d5feaa701c2215c737b55789cba0fc";
sha256 = "1h20b7n6a4pbqnrj22y8v5gc01zxs58lck3bipmgkpyp52ip3vig";
};
installPhase = ''
mkdir -p $out
cp -R ./* $out/
'';
}