Commit graph

142 commits

Author SHA1 Message Date
DavHau
03886d127e add kernel cross build support for faster builds on x86_64-linux
This adds the option `raspberry-pi-nix.kernel-build-system`, which can be used to drastically decrease the build times.

Description of the option:

The build system to compile the kernel on.

Only the linux kernel will be cross compiled, while most of the derivations are still pulled from cache.nixos.org.

Use this if you cannot or don't want to use the nix-community cache and either:
  - you are building on an x86_64 system using binfmt_misc for aarch64-linux.
  - or if your x86_64 builder has a better CPU than your aarch64 builder.
2024-12-12 23:00:51 +07:00
Travis Staton
aaec735faf
add stability note 2024-11-18 09:57:23 -05:00
Travis Staton
3a016ff26c
Merge pull request #79 from nix-community/flexible-partition-table-and-fs
Allow other partition tables and filesystems
2024-11-12 18:23:49 -05:00
Travis Staton
848c5add7f
readme tweaks 2024-11-12 12:36:49 -05:00
Travis Staton
b7c3578710
move comment 2024-11-12 12:31:36 -05:00
Travis Staton
beb01f006a
add firmware-partition-label option 2024-11-11 11:50:43 -05:00
Travis Staton
61d43e92fd
use config.system.boot.loader.kernelFile 2024-11-04 22:57:26 -05:00
Travis Staton
5c1f3831f9
Merge remote-tracking branch 'origin/master' into flexible-partition-table-and-fs 2024-11-04 22:55:15 -05:00
Travis Staton
57e8e8e842
Merge pull request #82 from nix-community/kernel-override
only mention rpi-kernels when overriding kernel
2024-11-04 22:50:17 -05:00
Travis Staton
ecc8ca530d
only mention rpi-kernels when overriding kernel
so that migrations / sd-image building work if there are additional kernel
overrides
2024-11-04 22:43:44 -05:00
Travis Staton
f872d7748f
shuffle kernel params 2024-11-03 21:58:22 -05:00
Travis Staton
ee53143215
add initrd 2024-11-03 21:58:22 -05:00
Travis Staton
d039a262ce
disable sd-image 2024-11-03 21:58:21 -05:00
Travis Staton
db08995cd6
Merge pull request #74 from pta2002/fix-dt-param 2024-10-20 17:47:36 -04:00
Pedro Alves
50a273f172 allow empty base dtparams 2024-10-19 16:07:01 +01:00
Travis Staton
9126fc5c04
Merge pull request #73 from nix-community/bump-deps
bump deps
2024-10-07 19:15:50 -04:00
Travis Staton
4501cff529 bump deps 2024-10-07 19:15:16 -04:00
Travis Staton
d342e97d25
Merge pull request #68 from SebTM/example_pipewire 2024-09-20 09:08:51 -04:00
Sebastian Sellmeier
81707d7230
example: add pipewire 2024-09-20 13:52:24 +02:00
Travis Staton
90ff6a72a9
remove somewhat off-topic details about setting up a substituter 2024-09-19 19:36:24 -04:00
Travis Staton
351301b1a1
Merge pull request #64 from nix-community/tag-fix
fixes #63: don't use tag with + in it
2024-09-12 16:41:08 -04:00
Travis Staton
5e9607fa18
fixes #63: don't use tag with + in it 2024-09-12 16:39:16 -04:00
Travis Staton
3236d867b3
Merge pull request #59 from adminy/master
packages version bump
2024-09-11 20:46:58 -04:00
adminy
0ffba0a5bf chore: packages version bump 2024-09-10 14:35:02 +01:00
Travis Staton
97c85054d1
Merge pull request #54 from dorkeline/fix-stray-quote 2024-08-24 13:57:59 -04:00
Travis Staton
d37f25bf2a
Merge pull request #55 from dorkeline/uboot-add-package-option-2 2024-08-24 13:56:43 -04:00
dorkeline
3fbf836224 uboot: remove mistakenly added line 2024-08-23 20:20:53 +02:00
dorkeline
80df3d197e uboot: fix a pkgs.uboot use in the migration script i didnt catch 2024-08-23 10:59:23 +02:00
dorkeline
8efedea712 migration: fix stray quote
Introduced in a993f0c but likely flew under the radar due to eval caching?
2024-08-23 09:28:26 +02:00
Travis Staton
ba595e6b0a
Merge pull request #51 from dorkeline/uboot-add-package-option
uboot: add package option
2024-08-22 09:23:08 -04:00
dorkeline
9b56cda093 uboot: add package option 2024-08-22 11:29:45 +02:00
Travis Staton
a993f0cd59
Merge pull request #46 from SebTM/uboot_optional
uboot: do not reference package if uboot disabled
2024-08-18 10:20:52 -04:00
Travis Staton
9c0181f876
Merge pull request #45 from SebTM/flake_libcamera-check
libcamera: add flake-check to binary-cache via buildbot
2024-08-18 10:19:34 -04:00
Sebastian Sellmeier
98b74ed7f2
uboot: do not reference package if uboot disabled 2024-08-17 19:54:49 +02:00
Sebastian Sellmeier
7f06ac402f
libcamera: add flake-check to binary-cache via buildbot 2024-08-17 19:34:36 +02:00
Travis Staton
6d61a9b18b
Merge pull request #42 from seaweed-generation/unstable-libcamera
Fix libcamera build
2024-08-15 16:55:30 -04:00
Eli Hastings
9d173a9416 Fix libcamera build
This backports the `postPatch` change from nixpkgs to the libcamera
overlay so the build doesn't break, and also changes the rpicam-apps
overlay so it builds properly now.

The version in the libcamera overlay has been fixed to match upstream.
2024-08-01 17:06:39 +01:00
Travis Staton
35bb455fde
Merge pull request #39 from Yash-Garg/patch-1
fix: deprecated `lib.cartesianProductofSets`
2024-08-01 08:23:29 -07:00
Yash Garg
4f3e27caae
fix: deprecated lib.cartesianProductofSets 2024-07-29 18:41:39 +05:30
Travis Staton
be1defc74e
Merge pull request #38 from nix-community/example-config-check
add example image to packages and CI
2024-07-27 10:37:01 -04:00
Travis Staton
4ecdee4572 update readme 2024-07-27 10:35:45 -04:00
Travis Staton
0dfdbce026 add example image to packages and CI 2024-07-27 10:14:13 -04:00
Travis Staton
953aca9361 add flake checks
flatten kernel attrset in order to adhere to flake spec
2024-07-26 20:51:21 -04:00
Travis Staton
336a0cf070 remove outdated comment 2024-07-26 09:07:18 -04:00
Travis Staton
3375c37c2c restrict board options 2024-07-26 08:50:52 -04:00
Travis Staton
cc48d16dd4 update board doc with better link 2024-07-26 08:45:21 -04:00
Travis Staton
02b119708c Remove default board, requiring the user to specify 2024-07-26 08:44:48 -04:00
Travis Staton
b4ad649630
Merge pull request #25 from 9gel/rpi-groups
Add groups so udev rules work in parity with official rpi
2024-07-08 17:10:44 -04:00
Travis Staton
c92bd86e0a
Merge pull request #23 from adminy/upgrade-with-fixes
chore: bump libs & fix libcamera, fix upstream nixpkgs
2024-07-08 17:09:00 -04:00
adminy
25b88136ac chore: undo backlight 2024-06-28 09:37:03 +01:00