# MacBook Pro (Apple Silicon, Asahi NixOS). Shared laptop options live in # ../../modules/laptop.nix; only host-specific settings are here. { pkgs, ... }: { imports = [ ./hardware-configuration.nix ]; # UEFI boot via systemd-boot. Asahi manages the EFI vars from macOS, so do not # touch them from NixOS. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = false; networking.hostName = "Emma-Asahi"; # No fingerprint reader on this machine; empty service still lets swaylock # authenticate via password. security.pam.services.swaylock = { }; # Apple peripheral firmware (Wi-Fi/Bluetooth). The directory is gitignored and # populated out-of-band -- see README. hardware.asahi.peripheralFirmwareDirectory = ../../modules/firmware; environment.systemPackages = with pkgs; [ asahi-bless asahi-nvram asahi-btsync asahi-wifisync unzip ppp iptables ]; # See `man configuration.nix` / the stateVersion docs before changing. system.stateVersion = "25.05"; }