diff options
Diffstat (limited to 'nixos/kompakt')
-rwxr-xr-x | nixos/kompakt/asahi_firmware/all_firmware.tar.gz | bin | 14086530 -> 0 bytes | |||
-rwxr-xr-x | nixos/kompakt/asahi_firmware/kernelcache.release.mac13g | bin | 24460734 -> 0 bytes | |||
-rw-r--r-- | nixos/kompakt/configuration.nix | 11 |
3 files changed, 8 insertions, 3 deletions
diff --git a/nixos/kompakt/asahi_firmware/all_firmware.tar.gz b/nixos/kompakt/asahi_firmware/all_firmware.tar.gz deleted file mode 100755 index 974fca8..0000000 --- a/nixos/kompakt/asahi_firmware/all_firmware.tar.gz +++ /dev/null Binary files differdiff --git a/nixos/kompakt/asahi_firmware/kernelcache.release.mac13g b/nixos/kompakt/asahi_firmware/kernelcache.release.mac13g deleted file mode 100755 index db5e091..0000000 --- a/nixos/kompakt/asahi_firmware/kernelcache.release.mac13g +++ /dev/null Binary files differdiff --git a/nixos/kompakt/configuration.nix b/nixos/kompakt/configuration.nix index bc033f7..716ceb5 100644 --- a/nixos/kompakt/configuration.nix +++ b/nixos/kompakt/configuration.nix @@ -1,21 +1,26 @@ -{ config, lib, pkgs, ... }: +{ config, lib, pkgs, apple-silicon, asahi-firmware, ... }: { imports = [ ./hardware-configuration.nix - ../modules/apple-silicon-support + apple-silicon.nixosModules.apple-silicon-support ]; + nixpkgs.overlays = [ apple-silicon.overlays.apple-silicon-overlay ]; + boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = false; # Specify path to peripheral firmware files. # This lets the flake stay pure. - hardware.asahi.peripheralFirmwareDirectory = ./asahi_firmware; + hardware.asahi.peripheralFirmwareDirectory = asahi-firmware; # Or completely disable extraction and managemement of them completely: # hardware.asahi.extractPeripheralFirmware = false; + # Enable GPU acceleration + hardware.asahi.useExperimentalGPUDriver = true; + boot.kernelParams = [ "console=tty1" ]; |