- Restore custom SDDM theme. - Clean up all remaining Hyprland windowrulev2 and layerrule syntax errors. - Optimize VM configurations with 4GB RAM and virtio-vga graphics for stability. - Remove diagnostic debug services and autologin debug settings. - Ensure correct session autologin to hyprland-uwsm.
38 lines
853 B
Nix
38 lines
853 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.defaultSession = lib.mkDefault "hyprland-uwsm";
|
|
|
|
services.displayManager.autoLogin = {
|
|
enable = lib.mkDefault true;
|
|
user = lib.mkDefault "nomarchy";
|
|
};
|
|
|
|
environment.systemPackages = [ nomarchy-sddm-theme ];
|
|
|
|
# Enable Hyprland system-level dependencies
|
|
programs.hyprland = {
|
|
enable = true;
|
|
withUWSM = true;
|
|
};
|
|
programs.uwsm.enable = true;
|
|
}
|