20 lines
627 B
Nix
20 lines
627 B
Nix
# Edit this configuration file to define what should be installed on
|
|
# your system. Help is available in the configuration.nix(5) man page, on
|
|
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
|
|
|
{ asahi-firmware, ... }:
|
|
|
|
{
|
|
# Use the systemd-boot EFI boot loader.
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = false;
|
|
hardware.asahi.peripheralFirmwareDirectory = asahi-firmware;
|
|
|
|
hardware.asahi.enable = true;
|
|
hardware.asahi.setupAsahiSound = true;
|
|
|
|
hardware.asahi.useExperimentalGPUDriver = true;
|
|
hardware.asahi.experimentalGPUInstallMode = "replace";
|
|
}
|
|
|