25 lines
687 B
Nix
25 lines
687 B
Nix
{
|
|
pkgs,
|
|
myConfig,
|
|
...
|
|
}: {
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
../../modules/nixos/default.nix
|
|
../../modules/nixos/hyprland.nix
|
|
# No gaming.nix (Steam is x86 only)
|
|
# No amd.nix
|
|
];
|
|
|
|
# Apple Silicon specific hardware tweaks
|
|
hardware.asahi = {
|
|
# peripheralFirmwareDirectory = ./firmware; # If you have extracted firmware
|
|
useExperimentalGPUDriver = true;
|
|
experimentalGPUInstallMode = "replace";
|
|
};
|
|
|
|
# Bootloader for Asahi is usually systemd-boot or grub, but asahi-module handles m1n1
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = false; # Asahi often prefers this false to avoid bricking nvram
|
|
}
|