- Restore 'quiet' and 'splash' to kernel parameters to enable Plymouth. - Re-enable graphics and virtio drivers for VM configurations. - Add Interface=Qt5 to SDDM theme metadata for proper loading. - Set default autoLogin.session to hyprland-uwsm to ensure correct session start. - Enable services.xserver for improved display manager compatibility.
37 lines
823 B
Nix
37 lines
823 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
let
|
|
nomarchy-sddm-theme = pkgs.stdenv.mkDerivation {
|
|
pname = "nomarchy-sddm-theme";
|
|
version = "1.0";
|
|
src = ../../assets/sddm/nomarchy;
|
|
installPhase = ''
|
|
mkdir -p $out/share/sddm/themes/nomarchy
|
|
cp -r * $out/share/sddm/themes/nomarchy/
|
|
'';
|
|
};
|
|
in
|
|
{
|
|
services.xserver.enable = true;
|
|
services.displayManager.sddm = {
|
|
enable = true;
|
|
wayland.enable = true;
|
|
theme = "nomarchy";
|
|
};
|
|
|
|
services.displayManager.autoLogin = {
|
|
enable = lib.mkDefault true;
|
|
user = lib.mkDefault "nomarchy";
|
|
session = lib.mkDefault "hyprland-uwsm";
|
|
};
|
|
|
|
environment.systemPackages = [ nomarchy-sddm-theme ];
|
|
|
|
# Enable Hyprland system-level dependencies
|
|
programs.hyprland = {
|
|
enable = true;
|
|
withUWSM = true;
|
|
};
|
|
programs.uwsm.enable = true;
|
|
}
|