fix firmware directory
This commit is contained in:
parent
227a48500e
commit
42651d51c0
2 changed files with 9 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1 +1 @@
|
||||||
#firmware
|
system/hosts/peach/firmware/*
|
||||||
|
|
|
||||||
|
|
@ -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 = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue