100 Commits
Author SHA1 Message Date
Jörg Thalheim d7f8bc5814 README: fix meeting dates 2026-03-27 00:13:08 +01:00
Jörg Thalheim 1bb9dfb405 asus/fa706ic: drop redundant nvidia settings
modesetting.enable and nvidiaSettings already default to true in
nixpkgs. open was set to false via mkDefault but the imported ampere
module overrides it to true with mkOverride 990, making the setting
ineffective anyway.
2026-03-15 01:00:58 +01:00
Jörg Thalheim 32b46b83df acer/predator/helios/300: remove redundant options
boot.initrd.availableKernelModules and boot.kernelModules are
machine-specific and belong in the user's hardware-configuration.nix
as generated by nixos-generate-config.

nvidia.open is already set by common/gpu/nvidia/pascal (Pascal GPUs
don't support the open driver). nvidiaSettings defaults to true in
the NixOS nvidia module. graphics.enable/enable32Bit should be left
to the user or their desktop environment to decide.
2026-03-08 12:19:55 +01:00
Jörg Thalheim 2e44aab8b1 minisforum/um-series: drop redundant hostPlatform
Already set by nixos-generate-config.
2026-02-15 16:56:47 +01:00
Jörg Thalheim c0fe6b810e minisforum/um-series: drop redundant enableRedistributableFirmware
Already set by nixos-generate-config via not-detected.nix on
bare metal systems.
2026-02-15 16:56:32 +01:00
Jörg Thalheim ac5ab0304c minisforum/um-series: drop redundant initrd modules
These are already covered by nixpkgs defaults in kernel.nix
(nvme, xhci_pci, usbhid, sd_mod) or detected by
nixos-generate-config via PCI/USB class scanning
(thunderbolt, usb_storage).
2026-02-15 16:55:01 +01:00
Jörg Thalheim 6deb98e401 List ThinkPad P16s Intel Gen 3 in README.md
The profile was added but the README table was not updated, so
users browsing the supported hardware list would not discover it.
2026-02-15 16:47:05 +01:00
Jörg Thalheim 7d3990afca List HP Laptop 15s-fq1xxx in README.md
The profile was added in a previous commit and forwarded in
flake.nix, but the README table was never updated, so users
browsing the supported hardware list would not discover it.
2026-02-15 16:45:49 +01:00
Jörg Thalheim 001bac7132 odroid-m1: simplify README
Remove opinionated configuration that doesn't belong in a hardware
module README: home-manager setup, user/SSH configuration, example
hardware-configuration.nix, and an overly complex multi-host flake
pattern.

Keep only the ODroid M1-specific information: how to build the SD card
image with the required petitboot populateRootCommands, and how to set
up the flake for ongoing nixos-rebuild switch.
2026-02-15 16:29:47 +01:00
Jörg Thalheim 0ac0225d16 CONTRIBUTING: expand contributor and reviewer guidelines
Document the full contribution workflow including feature branches,
README/flake.nix entry formats, testing from forks, deprecation
process, and update reviewer section to use GitHub merge queues.

Also clarify that any nixpkgs committer can review PRs.
2026-01-18 09:07:29 +01:00
Jörg Thalheim daedbd1c37 move hardware team meeting to new time 2026-01-15 18:41:10 +01:00
Jörg ThalheimandDaniel Schaefer fd83b9479c framework-16-amd-ai-300-series: add nvidia submodule
Add a dedicated submodule for Framework Laptop 16 AMD AI 300 Series with
NVIDIA dGPU (RTX 5070). This provides hybrid graphics configuration with
PRIME offload, allowing the AMD iGPU to run by default for better battery
life while making the NVIDIA dGPU available on demand via nvidia-offload.

Exposed as nixosModules.framework-16-amd-ai-300-series-nvidia

Co-authored-by: Daniel Schaefer <dhs@frame.work>
2025-11-28 11:57:31 +01:00
Jörg Thalheim f34ca8045a mnt/reform: stop doing ifd 2025-11-06 11:27:57 +01:00
Jörg Thalheim ec18896955 librem/5r4/u-boot: update and use newer compiler 2025-11-06 11:21:16 +01:00
Jörg Thalheim 64269645d4 star64: add missing names to kernel patches 2025-11-06 11:14:48 +01:00
Jörg Thalheim d1ad892e3b helios4: add missing names to kernel patches 2025-11-06 11:14:03 +01:00
Jörg Thalheim 8b72f74d80 nxp: add upstream docs 2025-11-04 15:27:28 +01:00
Jörg Thalheim 655a6da8a8 nxp: document flash procedure and expose images in flake 2025-11-04 13:35:34 +01:00
Jörg Thalheim 01e8e18d9d format flake.nix after nixpkgs bump 2025-11-04 13:04:34 +01:00
Jörg Thalheim 5ad68c5dff tests: add all aarch64 NXP boards to aarch64Systems list 2025-11-04 12:57:21 +01:00
Jörg Thalheim fad92f5f57 ucm-imx95: expand pkgs in callPackage for overrides 2025-11-04 12:57:21 +01:00
Jörg Thalheim f2e49f279c optee-builder: use stdenv as opposed to gccStdenv
should be the same in our use case, but stdenv is more standard.
2025-11-04 12:34:11 +01:00
Jörg Thalheim e598a4ca2f nxp: patch toolchain more consistent between different targets 2025-11-04 12:28:52 +01:00
Jörg Thalheim a2bc09823a ucm-imx95: various changes
- Move openssl to nativeBuildInputs in ATF build for proper cross-compilation
- Add explicit SILICON validation with clear error messages in firmware build
- Fix fragile wildcard patterns in firmware DDR file copying
- Replace mutable branch URLs with pinned commit hashes for patch stability
- Add U-Boot config merge step (make olddefconfig) after extra config
- Fix cross-compilation toolchain coherence (cpp in optee-os)
- Standardize license format (single value instead of single-element list)
- Update maintainer references with inline name/email format
- Fix typos and grammar in documentation and comments
2025-10-30 15:17:56 +01:00
Jörg Thalheim 86d9291cc3 ucm-imx95: use --replace-fail for substituteInPlace 2025-10-30 14:52:25 +01:00
Jörg Thalheim 8650454db6 ucm-imx95: fix firmware parameter collision and update imx-mkimage
Fixed parameter name collision in ucm-imx95-firmware.nix where the
'silicon' parameter conflicted with the nixpkgs silicon package, causing
the wrong AHAB container to be selected. Renamed to 'siliconRev'.

Updated imx-mkimage from lf-6.6.36 to lf-6.6.52-2.2.1 to match the
firmware version expectations (v202409 instead of v202311).
2025-10-30 14:48:44 +01:00
Jörg Thalheim f6299de29d bump nixpkgs 2025-10-30 14:29:33 +01:00
Jörg Thalheim caacab410f speed up ci: run nix-eval-jobs with no-instantiate 2025-10-30 14:07:00 +01:00
Jörg Thalheim 3beac2438b nix-eval-job: disable eval-cache
in ci, there is no cache, so it's just overhead and prints warnings.
2025-10-30 13:12:15 +01:00
Jörg Thalheim b09586b101 Remove insecure broadcom-sta driver from hardware profiles
The broadcom-sta driver package is marked as insecure due to CVE-2019-9501
and CVE-2019-9502 (heap buffer overflow vulnerabilities allowing remote code
execution). The driver is also unmaintained and incompatible with modern
Linux kernel security mitigations.

Removed broadcom_sta from extraModulePackages and the corresponding "wl" kernel module.

This resolves test failures where Nixpkgs refuses to evaluate configurations
containing this insecure package.
2025-10-30 13:04:01 +01:00
Jörg Thalheim e214e292a6 also enable formatter on macOS 2025-10-30 12:39:05 +01:00
Jörg Thalheim 779c16f604 ci: show github errors nicer formatted 2025-10-30 12:39:05 +01:00
Jörg Thalheim 6ec1e82182 format nix code after nixfmt update 2025-10-30 12:39:05 +01:00
Jörg Thalheim 4bafcc2454 Refactor tests to load flake inputs with flake-compat
This makes `nix fmt` just works and we no longer have to override flake
inputs.
2025-10-30 12:36:49 +01:00
Jörg Thalheim 688ee555de refactor(nxp): parameterize i.MX platform builders to reduce duplication
This refactoring reduces code duplication across i.MX93, i.MX8MP, and
i.MX8MQ platforms by extracting common build logic into parameterized
shared builders. This makes it easier to maintain and add new i.MX
platforms while ensuring consistency across all platforms.
2025-10-29 18:26:21 +01:00
Jörg Thalheim e8bd6a44ac disable treefmt on riscv64 2025-07-01 20:02:30 +02:00
Jörg Thalheim 72cdb22463 add script to update nar hashes in tests 2025-07-01 19:31:14 +02:00
Jörg Thalheim 1ead2d05dd bump nixos-stable/nixos-unstable 2025-07-01 19:30:42 +02:00
Jörg Thalheim bd65595c6d Add .git-blame-ignore-revs file for auto-rebasing 2025-07-01 19:27:33 +02:00
Jörg Thalheim b2c7dee5c6 ci: support for merge queues 2025-07-01 19:19:15 +02:00
Jörg Thalheim a7600cef40 move treefmt to tests flake
this way we don't polute our consumers flake.lock with treefmt
2025-07-01 19:16:10 +02:00
Jörg Thalheim 1552a9f451 add community meetings to CONTRIBUTING.md 2025-06-20 15:00:36 +00:00
Jörg Thalheim ff949f78d6 ideacentr-k330: include nvidia-fermi architecture 2025-05-13 11:41:12 +02:00
Jörg Thalheim 5aa1b0f049 dell-xps-15-9530-nvidia: include ada-lovelace profile 2025-05-13 08:21:52 +02:00
Jörg Thalheim 91dc75a805 fix system.stateVersion for tests 2025-05-13 08:14:44 +02:00
Jörg Thalheim d371c70b45 docs/CONTRIBUTING: replace bors with mergify 2025-05-13 08:14:44 +02:00
Jörg Thalheim b83e517bfc bump tests/flake.nix to 24.11 2025-05-13 08:14:44 +02:00
Jörg Thalheim c56ef7b722 dell-precision-5530: remove unnecessary default nvidia options
In the nvidia module, we already disable the open source driver and
we default to the stable nvidia package
2025-04-29 07:55:06 +02:00
Jörg Thalheim 5335d4303b README: fix typos in the examples and make formatting more consistent 2025-03-07 05:11:18 +00:00
Jörg Thalheim da7014af5d Revert "framework/13-inch/12th-gen-intel: add hdmi audio fix"
This reverts commit 8b5ef47338.

fixes https://github.com/NixOS/nixos-hardware/issues/1362

Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
2025-02-06 04:06:41 +00:00
Jörg Thalheim 75a920536c rpi2: switch to extlinux bootloader 2025-01-07 08:16:49 +00:00
Jörg Thalheim 95a812557b update flake.lock 2025-01-07 08:16:49 +00:00
Jörg Thalheim b98df1827a framework/13-inch/7040-amd: remove fprint workaround
fixes https://github.com/NixOS/nixos-hardware/issues/1256
2025-01-07 07:29:08 +00:00
Jörg Thalheim c6cddc7bb2 fix eval 2024-12-02 12:37:38 +01:00
Jörg Thalheim c6c90887f8 drop acpi_call from nixos-hardware
fixes https://github.com/NixOS/nixos-hardware/issues/1114 and tlp also
no longer recommands it.
2024-12-02 12:33:14 +01:00
Jörg Thalheim f372fa6cfa fix eval with 24.05 2024-11-06 05:49:31 +00:00
Jörg Thalheim be900587c3 update test flakes 2024-10-22 18:27:18 +02:00
Jörg Thalheim 8c3e99bfa5 cpu/intel: make sure we import the local cpu-only profiles 2024-10-22 18:27:18 +02:00
Jörg ThalheimandGavin John 6e486f2812 common/gpu/intel/lunar-lake: enable xe driver
Starting with lunarlake this driver no longer needs to force probe:

https://github.com/torvalds/linux/blob/ad46e8f95e931e113cb98253daf6d443ac244cde/drivers/gpu/drm/xe/xe_pci.c#L339

Co-authored-by: Gavin John <gavinnjohn@gmail.com>
2024-10-22 18:27:09 +02:00
Jörg Thalheim 9da64c8fd9 dell/xps/15-9520: add alder-lake gpu profile 2024-10-20 19:56:39 +00:00
Jörg Thalheim 3854ace106 Revert "dell/xps/15-9520: use alder-lake gpu profile"
This reverts commit 8f38d8a475.

This was added to the wrong laptop model.
2024-10-20 19:56:39 +00:00
Jörg Thalheim f5c239fa9a asus/zephyrus/ga402x/shared.nix: no need to override default of mkEnableOption 2024-09-29 12:41:13 +00:00
Jörg Thalheim 1bc47d8abf asus/zenbook/ux371: enable xe driver explicitly 2024-09-29 12:41:11 +00:00
Jörg Thalheim 8d839c1672 only incrase font size for older kernel 2024-09-24 19:14:41 +02:00
Jörg Thalheim b493dfd4a8 update flakes 2024-09-21 08:02:24 +00:00
Jörg Thalheim 1e27e79ab2 CONTRIBUTING.md: Update testing instructions
fixes https://github.com/NixOS/nixos-hardware/issues/1135
2024-09-21 08:02:24 +00:00
Jörg Thalheim d64ae01653 test/run: format file and remove unused variable 2024-09-21 08:02:24 +00:00
Jörg Thalheim 15c3e00913 mergify: merge in batches of 5 2024-08-19 13:10:42 +02:00
Jörg Thalheim 70e7e3fa14 update mergify 2024-08-19 11:07:30 +02:00
Jörg Thalheim a3efd46620 apple/imac/18-2: fix gpu import path 2024-08-19 10:39:18 +02:00
Jörg Thalheim 15c8c47fe2 kobol/helios4: fix eval 2024-08-19 10:39:18 +02:00
Jörg Thalheim 04a366f28c fix ci and make it reproducible 2024-08-19 10:39:18 +02:00
Jörg Thalheim 901bc809b5 asus/zephyrus/ga402x: drop redundand vdpau drivers 2024-06-26 14:50:27 +00:00
Jörg Thalheim b7d8d5c788 lenovo/yoga/7/14ARH7: remove redundant vdpau packages
amd doesn't need them and nvidia already includes them
2024-06-26 14:50:27 +00:00
Jörg Thalheim a5abf3379d zephyrus/ga402x: switch to amd gpu module 2024-06-26 14:50:27 +00:00
Jörg Thalheim 5fe1583567 gpu/amd: remove unused pkgs 2024-06-26 14:50:27 +00:00
Jörg Thalheim 4677bf5e89 gpu/intel: remove outdated libvdpau-va-gl driver
the existing drivers should provide video accelerations since broadwell.
This driver also caused a crash in the past in VLC:
https://github.com/NixOS/nixpkgs/issues/283083
2024-06-26 14:50:27 +00:00
Jörg Thalheim ae13b3761c lenovo/yoga/6/13ALC6: drop video acceleration driver
Those are not useful for AMD.
According to https://wiki.nixos.org/wiki/Accelerated_Video_Playback all
we need is enabling opengl drivers.
2024-06-26 14:50:27 +00:00
Jörg Thalheim 0cf592f520 add new tests to mergify configuration 2024-06-23 14:01:12 +02:00
Jörg Thalheim 4e59e4c9e9 common/gpu/24.05-compat: don't create conflicts with user configuration
fixes https://github.com/NixOS/nixos-hardware/issues/1000
2024-06-22 13:22:07 +02:00
Jörg Thalheim 584a5e5518 fix 24.05 evaluation 2024-06-21 23:50:11 +02:00
Jörg Thalheim 083823b790 gpu/amd: drop hardware.amdgpu.opencl option
This now conflicts with nixpkgs.
2024-06-20 14:48:13 +00:00
Jörg Thalheim 144f53f534 common: remove deprecated modules 2024-06-20 15:51:13 +02:00
Jörg Thalheim 56e370b342 deprecate commons/hdd module
We havent't had anything meaningful configuration in this module for a while.
So let's deprecate it.
2024-06-20 12:09:44 +02:00
Jörg Thalheim acb4f0e9bf link to matrix room 2024-06-19 14:22:30 +00:00
Jörg Thalheim 057a7996d0 hidpi: drop legacy options 2024-06-08 06:29:16 +00:00
Jörg Thalheim a4e2b7909f helios4: remove need for overlay
Note that the linux kernel can and should be accessed through
config.kernelPackages.kernel.
2024-05-08 06:06:35 +00:00
Jörg Thalheim 6cb18a6649 purism/librem/5r4: make it usuable without an overlay
In larger installations nixpkgs.overlays adds significant overhead
because it's harder to share nixpkgs between different NixOS machines
i.e. using nixpkgs.pkgs
2024-05-08 06:06:35 +00:00
Jörg Thalheim 8a4adfe48b raspberry-pi/5: don't use overlay 2024-05-06 07:04:32 +00:00
Jörg Thalheim 74b75a9598 hp elitebook: fix eval 2024-04-27 08:18:59 +02:00
Jörg Thalheim c056352c4c fix mergify configuration 2024-04-23 11:19:54 +02:00
Jörg Thalheim 218ab789fd milkv/pioneer: fix u-root cross-compilation
Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
2024-04-08 06:34:49 +02:00
Jörg Thalheim b34a6075e9 xps-15-9560: disable broken bumblebee for now
Looks like it fails to evaluate in nixpkgs just now
2024-01-09 07:46:34 +00:00
Jörg Thalheim 9c3a412578 framework/13-inch/13th: document on how to get the fingerprint sensor to work 2023-12-29 13:19:35 +00:00
Jörg Thalheim a15b6e525f apple-t2: avoid import-from-derivation 2023-12-25 22:57:21 +00:00
Jörg Thalheim 65753f5d11 speed up ci using nix-eval-jobs 2023-12-25 22:57:21 +00:00
Jörg Thalheim 05fc10e093 add pyproject.toml for ruff lints 2023-12-25 20:49:59 +00:00
Jörg Thalheim e91914c6cc apply ruff lints 2023-12-25 20:49:59 +00:00
Jörg Thalheim 453896efd8 tests/run.py: reformat with ruff 2023-12-25 20:49:59 +00:00
Jörg Thalheim b7747f0f60 remove unused variables with deadnix 2023-12-25 20:25:23 +00:00