feat: improve video configuration for VM and Live ISO

This commit is contained in:
Bernardo Magri
2026-04-13 13:05:59 +01:00
parent 8e4e801244
commit 66096cbc46
7 changed files with 23 additions and 2 deletions

View File

@@ -17,6 +17,10 @@
# Ensure the live environment user has the necessary groups for graphical acceleration and audio
users.users.nixos.extraGroups = [ "wheel" "video" "render" "audio" "networkmanager" ];
# Graphics support for live environment
boot.initrd.kernelModules = [ "amdgpu" "radeon" "nouveau" "i915" ];
services.xserver.videoDrivers = [ "amdgpu" "radeon" "nouveau" "modesetting" "fbdev" ];
environment.etc."install.sh" = {
source = ../installer/install.sh;
mode = "0755";