fix firmware directory

This commit is contained in:
Sean Kovacs 2025-11-14 08:53:43 -05:00
commit 9d26ff59ef
Signed by: sckova
GPG key ID: 00F325187C68651A
2 changed files with 9 additions and 2 deletions

2
.gitignore vendored
View file

@ -1 +1 @@
#firmware system/hosts/peach/firmware/*

View file

@ -20,7 +20,14 @@
# extractPeripheralFirmware = false; # extractPeripheralFirmware = false;
# This is broken because of flake git tracking. # This is broken because of flake git tracking.
# I can't figure out how to make it work. # I can't figure out how to make it work.
peripheralFirmwareDirectory = ./firmware; peripheralFirmwareDirectory = pkgs.requireFile {
name = "firmware";
hashMode = "recursive";
hash = "sha256-lw8tJHRUSBwqu82ys4rZIYH0sEb+dDjQkXg1wt1afZI=";
message = ''
nix-store --add-fixed sha256 --recursive ./firmware
'';
};
}; };
swapDevices = [ swapDevices = [