update apple silicon support

add update script
This commit is contained in:
Christoph Cullmann 2025-07-06 16:38:05 +02:00
parent 6cea23953e
commit e8ee273d59
No known key found for this signature in database
4 changed files with 21 additions and 36 deletions

View file

@ -1,9 +1,6 @@
{ options, config, pkgs, lib, ... }:
{ config, lib, ... }:
{
config = let
isMode = mode: (config.hardware.asahi.useExperimentalGPUDriver
&& config.hardware.asahi.experimentalGPUInstallMode == mode);
in lib.mkIf config.hardware.asahi.enable (lib.mkMerge [
config = lib.mkIf config.hardware.asahi.enable (lib.mkMerge [
{
# required for proper DRM setup even without GPU driver
services.xserver.config = ''