fix(vm): restore Plymouth splash and fix SDDM session selection
- 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.
This commit is contained in:
@@ -3,4 +3,5 @@ Name=Nomarchy
|
||||
Description=Minimal terminal-style login theme matching the Limine bootloader aesthetic
|
||||
Author=Nomarchy
|
||||
Type=sddm-theme
|
||||
Interface=Qt5
|
||||
Version=1.0
|
||||
|
||||
@@ -94,8 +94,8 @@
|
||||
# Use a dummy hardware config for VM
|
||||
fileSystems."/" = { device = "/dev/disk/by-label/nixos"; };
|
||||
boot.loader.grub.device = "/dev/vda";
|
||||
boot.initrd.availableKernelModules = [ "virtio_pci" "virtio_blk" "virtio_gpu" ];
|
||||
boot.kernelParams = nixpkgs.lib.mkForce [ "video=1280x800" "splash" "boot.shell_on_fail" ];
|
||||
boot.initrd.availableKernelModules = [ "virtio_pci" "virtio_blk" "virtio_gpu" "virtio_net" "virtio_mmio" ];
|
||||
boot.kernelParams = nixpkgs.lib.mkForce [ "video=1280x800" "quiet" "splash" "boot.shell_on_fail" ];
|
||||
|
||||
# Ensure the user has the right groups for graphical environment
|
||||
users.users.nixos = {
|
||||
@@ -129,8 +129,8 @@
|
||||
# Use a dummy hardware config for VM
|
||||
fileSystems."/" = { device = "/dev/disk/by-label/nixos"; };
|
||||
boot.loader.grub.device = "/dev/vda";
|
||||
boot.initrd.availableKernelModules = [ "virtio_pci" "virtio_blk" "virtio_gpu" ];
|
||||
boot.kernelParams = nixpkgs.lib.mkForce [ "video=1280x800" "splash" "boot.shell_on_fail" ];
|
||||
boot.initrd.availableKernelModules = [ "virtio_pci" "virtio_blk" "virtio_gpu" "virtio_net" "virtio_mmio" ];
|
||||
boot.kernelParams = nixpkgs.lib.mkForce [ "video=1280x800" "quiet" "splash" "boot.shell_on_fail" ];
|
||||
|
||||
# Setup default user for testing
|
||||
users.users.nomarchy = {
|
||||
|
||||
@@ -12,6 +12,7 @@ let
|
||||
};
|
||||
in
|
||||
{
|
||||
services.xserver.enable = true;
|
||||
services.displayManager.sddm = {
|
||||
enable = true;
|
||||
wayland.enable = true;
|
||||
@@ -21,6 +22,7 @@ in
|
||||
services.displayManager.autoLogin = {
|
||||
enable = lib.mkDefault true;
|
||||
user = lib.mkDefault "nomarchy";
|
||||
session = lib.mkDefault "hyprland-uwsm";
|
||||
};
|
||||
|
||||
environment.systemPackages = [ nomarchy-sddm-theme ];
|
||||
|
||||
Reference in New Issue
Block a user