From 4015df2e40fb4559fb64f099414ae0970495eba6 Mon Sep 17 00:00:00 2001 From: Emmet Date: Tue, 27 Feb 2024 19:33:42 -0600 Subject: [PATCH] Switched to sddm --- system/wm/wayland.nix | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/system/wm/wayland.nix b/system/wm/wayland.nix index 44f345b..f2fbbf7 100644 --- a/system/wm/wayland.nix +++ b/system/wm/wayland.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ config, pkgs, ... }: { imports = [ ./pipewire.nix @@ -7,7 +7,18 @@ ./fonts.nix ]; - environment.systemPackages = [ pkgs.wayland pkgs.waydroid ]; + environment.systemPackages = with pkgs; + [ wayland waydroid + (sddm-chili-theme.override { + themeConfig = { + background = config.stylix.image; + ScreenWidth = 1920; + ScreenHeight = 1080; + blur = true; + recursiveBlurLoops = 3; + recursiveBlurRadius = 5; + };}) + ]; # Configure xwayland services.xserver = { @@ -15,9 +26,11 @@ layout = "us"; xkbVariant = ""; xkbOptions = "caps:escape"; - displayManager.gdm = { + displayManager.sddm = { enable = true; - wayland = true; + wayland.enable = true; + enableHidpi = true; + theme = "chili"; }; }; }