From f2166db444cbacbc2c49c95fcd6981f0774e5a7f Mon Sep 17 00:00:00 2001 From: sefidel Date: Wed, 15 Feb 2023 00:09:04 +0900 Subject: fix(nixos/kompakt): include peripheral firmwares This fixes the impurity error on flakes. --- nixos/kompakt/asahi_firmware/all_firmware.tar.gz | Bin 0 -> 14086530 bytes .../asahi_firmware/kernelcache.release.mac13g | Bin 0 -> 24460734 bytes nixos/kompakt/configuration.nix | 6 ++++++ 3 files changed, 6 insertions(+) create mode 100755 nixos/kompakt/asahi_firmware/all_firmware.tar.gz create mode 100755 nixos/kompakt/asahi_firmware/kernelcache.release.mac13g (limited to 'nixos') diff --git a/nixos/kompakt/asahi_firmware/all_firmware.tar.gz b/nixos/kompakt/asahi_firmware/all_firmware.tar.gz new file mode 100755 index 0000000..974fca8 Binary files /dev/null and b/nixos/kompakt/asahi_firmware/all_firmware.tar.gz differ diff --git a/nixos/kompakt/asahi_firmware/kernelcache.release.mac13g b/nixos/kompakt/asahi_firmware/kernelcache.release.mac13g new file mode 100755 index 0000000..db5e091 Binary files /dev/null and b/nixos/kompakt/asahi_firmware/kernelcache.release.mac13g differ diff --git a/nixos/kompakt/configuration.nix b/nixos/kompakt/configuration.nix index 837ee05..581af1f 100644 --- a/nixos/kompakt/configuration.nix +++ b/nixos/kompakt/configuration.nix @@ -15,6 +15,12 @@ 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; + # Or completely disable extraction and managemement of them completely: + # hardware.asahi.extractPeripheralFirmware = false; + boot.supportedFilesystems = [ "zfs" ]; networking.hostName = "kompakt"; # Define your hostname. -- cgit 1.4.1