Files
nixfiles/system/machine/MBP-Asahi/configuration.nix
T

36 lines
972 B
Nix
Raw Normal View History

# MacBook Pro (Apple Silicon, Asahi NixOS). Shared laptop options live in
# ../../modules/laptop.nix; only host-specific settings are here.
{ pkgs, ... }:
2025-05-21 19:47:51 +01:00
{
2026-06-02 07:40:25 -07:00
imports = [
./hardware-configuration.nix
];
2025-05-21 19:47:51 +01:00
# Asahi manages the EFI vars from macOS; do not touch them from NixOS.
2025-05-21 19:47:51 +01:00
boot.loader.efi.canTouchEfiVariables = false;
networking.hostName = "Emma-Asahi";
2025-05-21 19:47:51 +01:00
# No fingerprint reader on this machine; empty service still lets swaylock
# authenticate via password.
2026-06-02 07:40:25 -07:00
security.pam.services.swaylock = { };
2025-05-21 19:47:51 +01:00
# Apple peripheral firmware (Wi-Fi/Bluetooth). The directory is gitignored and
# populated out-of-band -- see README.
2026-06-02 07:40:25 -07:00
hardware.asahi.peripheralFirmwareDirectory = ../../modules/firmware;
2025-05-21 19:47:51 +01:00
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";
2025-05-21 19:47:51 +01:00
}