Commit graph

40994 commits

Author SHA1 Message Date
Jörg Thalheim cb883c36e3 nixos/facter: add boot and storage detection
This adds automatic kernel module detection for boot-critical hardware:

- disk.nix: Detects and loads kernel modules for storage controllers
  Auto-detects modules for: disk controllers, storage controllers,
  and FireWire controllers (for FireWire-attached disks).
  Modules are automatically added to boot.initrd.availableKernelModules.

- keyboard.nix: Detects USB controller drivers for keyboard support
  Ensures USB HID drivers are loaded in initrd for keyboard access
  during boot (critical for LUKS password entry, etc.).

Follow up to #454237.
Part of incremental upstreaming from nixos-facter-modules.
2025-10-23 12:47:17 +02:00
Jörg Thalheim 368ed53d31
nixos/facter: add core library and system detection (#454237) 2025-10-23 10:41:20 +00:00
h7x4 6044a81193
iio-niri: init at 1.2.1 (#454551) 2025-10-23 08:42:05 +00:00
Zhaith Izaliel 207f23bf08
nixos/iio-niri: init module 2025-10-23 10:09:51 +02:00
Gaétan Lepage d05426b827
keychron-udev-rules: init at 23-10-2025 (#454769) 2025-10-23 07:54:54 +00:00
Wolfgang Walther 8c91337b20
nixos/zeronet: fix meta.maintainers (#454713) 2025-10-23 07:53:57 +00:00
kruziikrel13 5cd26d1051 nixos/qmk: add keychron support 2025-10-23 16:48:31 +10:00
h7x4 ddc42ca86f
nixos/plymouth: refresh (#454358) 2025-10-23 06:11:17 +00:00
Masum Reza a9440ea002
android-udev-rules: drop (#454366) 2025-10-23 03:25:24 +00:00
Jan Tojnar 0ec9321de6
selfoss: Fix module (#453595) 2025-10-22 23:45:01 +00:00
Matt Sturgeon 8433198def
nixos/zeronet: fix meta.maintainers
Fixes 982ede4108
2025-10-23 00:32:57 +01:00
Acid Bong 6e1fb5d6b2
nixos/plymouth: make use of lib.getExe' wherever possible 2025-10-22 20:50:52 +03:00
Acid Bong e6aa2e34a1
nixos/plymouth: add package option 2025-10-22 20:33:10 +03:00
Johannes Kirschbauer 43b77e1457
lib/cli: add toCommandLine (#404233) 2025-10-22 14:45:00 +00:00
Masum Reza ba6e9f00fb
limine: convert boolean values (#453583) 2025-10-22 14:23:20 +00:00
Maximilian Bosch b4fd706dd8
nixos/nextcloud: prevent nextcloud-occ arguments being parsed by wrapper (#451187) 2025-10-22 11:13:25 +00:00
Jörg Thalheim ab49e37a02 nixos/facter: add core library and system detection
This adds foundational functionality for nixos-facter hardware detection:

- lib.nix: Internal helper functions for querying facter reports
  - hasCpu/hasAmdCpu/hasIntelCpu: CPU vendor detection
  - collectDrivers: Extract driver_modules from hardware entries
  - toZeroPaddedHex: Format USB device IDs (for fingerprint matching)

- system.nix: Auto-detect nixpkgs.hostPlatform from facter report
  Automatically sets the correct platform (x86_64-linux, aarch64-linux, etc.)
  based on the hardware report, reducing manual configuration.

This builds on the base infrastructure added in PR #450303 and provides
the foundation for upcoming hardware detection modules (boot, networking,
graphics, etc.).

Part of the incremental upstreaming effort from:
https://github.com/nix-community/nixos-facter-modules
2025-10-22 12:38:46 +02:00
h7x4 2b9d36ae10
nixos/nftables: added wiki link for no VM network access (#453893) 2025-10-22 10:16:47 +00:00
Acid Bong 115adc466a
nixos/plymouth: replace with lib; with inherit 2025-10-22 12:57:14 +03:00
yuannan e078dbbddb
nixos/nftables: added wiki link for no VM network access 2025-10-22 09:48:17 +01:00
Masum Reza 995825be3e
nixos/wayvnc: init wayvnc module with pam config (#431631) 2025-10-22 05:59:23 +00:00
h7x4 1de59a5863
nixos/lldap: use exec for start script (#454173) 2025-10-22 02:12:35 +00:00
h7x4 fa77ae868c
nixos/beszel: init (#380731) 2025-10-22 02:06:16 +00:00
h7x4 bc715b8c52
nixos/rtkit: harden systemd service (#454127) 2025-10-22 02:05:52 +00:00
Tim Schumacher c06ad375eb android-udev-rules: drop
As of systemd 258 adb and fastboot connections are handled by a built-in
uaccess rule, so a dedicated package with hardcoded ID-based udev rules
is no longer needed.

Drop the android-udev-rules package and related mentions of the adbusers
group, which is also no longer used.
2025-10-22 00:13:25 +02:00
Emily 7e01098a27
nixos/rngd: remove file, move warning to rename.nix (#453520) 2025-10-21 20:43:32 +00:00
Bonus f5d45f3499
nixos/beszel.agent: init
Co-authored-by: Mirza Arnaut <mirza.arnaut45@gmail.com>
2025-10-21 22:42:22 +02:00
Bonus 5dbf685def
nixos/beszel.hub: init
Co-authored-by: Mirza Arnaut <mirza.arnaut45@gmail.com>
2025-10-21 22:42:19 +02:00
Emily 591e302bad
lib: deprecate mkAliasOptionModuleMD (#454195) 2025-10-21 20:00:12 +00:00
Lukas Wurzinger 1f4c50ab81
lib/cli: deprecate toGNUCommandLine 2025-10-21 21:01:38 +02:00
Sandro 1a9bb3aa2a
nixos/opentelemetry-collector: validate config (#392701) 2025-10-21 15:30:11 +00:00
Sandro 084b1f8ec5
treewide: ensure ExecReload kill fields has absolute path (#453135) 2025-10-21 15:08:46 +00:00
Sandro d4cc7f2385
nixos/virtualisation/podman: add completion for dockerCompat (#446817) 2025-10-21 15:04:41 +00:00
Bouke van der Bijl 0a5bba0f15 nixos/opentelemetry-collector: validate config 2025-10-21 17:03:17 +02:00
Masum Reza 2483e31a08
invidious: pass configuration in INVIDIOUS_CONFIG as YAML (#448855) 2025-10-21 14:47:31 +00:00
Aliaksandr f28be96fda
treewide: mkAliasOptionModuleMD -> mkAliasOptionModule 2025-10-21 15:42:47 +03:00
Doron Behar 3f9aa9d82f
nixos/syncthing: declare ignore patterns (resolves #268282) (#353770) 2025-10-21 12:41:17 +00:00
Jacek Galowicz 716b1eacc1
nixos/github-runner: fix nodeRuntimes option (#435476) 2025-10-21 12:28:38 +00:00
zorrobert 7a223b2685 nixos/syncthing: add option for ignore patterns
Syncthing can be configured to ignore certain files and
directories via ignore patterns. This PR adds a new nix option to
set these patterns declaratively.
2025-10-21 12:57:28 +02:00
K900 b619339061
Plasma 6.5 (#444055) 2025-10-21 10:56:36 +00:00
Tobias M 95625320bf nixos/lldap: use exec for start script
Use exec for running lldap itself so that the bash startup script does
not have to linger around.
2025-10-21 12:51:16 +02:00
K900 15729ec4e1 kdePackages: Plasma 6.4.5 -> 6.5.0 2025-10-21 12:51:04 +03:00
Abdelrahman Abdelhafez 6aafe72232
nixos/postfix: fix removed option's replacement instructions
The replacement instructions for the removed services.postfix.extraConfig option suggests using the services.postfix.extraConfig option instead, which doesn't exist.
2025-10-21 10:56:47 +02:00
h7x4 96be3f19b4
nixos/rtkit: harden systemd service 2025-10-21 16:59:54 +09:00
nixpkgs-ci[bot] 65a2cad20c
Merge master into staging-next 2025-10-21 06:06:18 +00:00
Spencer Janssen 82bd28b068 nixos/github-runner: fix nodeRuntimes option
Fixes #434830.

Drops backwards compatibility workaround introduced in #286063.
2025-10-20 23:40:39 -05:00
K900 b43c43d642
nixos/plasma6: check $XDG_CACHE_HOME before $HOME/.cache for ksycoca cache wipe (#453299) 2025-10-21 01:14:22 +00:00
nixpkgs-ci[bot] fb4a94b345
Merge master into staging-next 2025-10-20 18:06:02 +00:00
Pol Dellaiera 6dca59fdf7
nixos/gitlab-runner: fix broken link (#452338) 2025-10-20 14:58:48 +00:00
dish 96aa4941c0
nixos/forgejo: add age setting to automatic dump (#450761) 2025-10-20 14:20:09 +00:00