From 5102c58efa22afbf8e8d799efcb1311eb3d8bcbc Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Tue, 19 May 2026 08:38:16 +0200 Subject: [PATCH] feat: use a diff theme. --- modules/linux/nixos/sddm.nix | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/modules/linux/nixos/sddm.nix b/modules/linux/nixos/sddm.nix index b133374..a466550 100644 --- a/modules/linux/nixos/sddm.nix +++ b/modules/linux/nixos/sddm.nix @@ -3,31 +3,24 @@ pkgs, lib, ... -}: { +}: let + theme = pkgs.sddm-astronaut; +in { options = { crony.sddm.enable = lib.mkEnableOption "Enable sddm."; }; config = lib.mkIf config.crony.sddm.enable { environment.systemPackages = [ - (pkgs.where-is-my-sddm-theme.override { - variants = ["qt6" "qt5"]; - themeConfig.General = { - showSessionsByDefault = true; - - background = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; - backgroundFill = "#282828"; - backgroundMode = "none"; - }; - }) + theme ]; services.displayManager.sddm = { enable = true; + extraPackages = [theme]; wayland = { enable = true; - compositor = "kwin"; }; - theme = "where_is_my_sddm_theme"; + theme = "sddm-astronaut-theme"; }; }; }