Commit graph

686 commits

Author SHA1 Message Date
Matthew Croughan ca573e60c6
sheep_net: init (#423744) 2025-07-16 17:06:11 +01:00
matthewcroughan c58a266a1e sheep_net: init
Co-authored-by: bloxx12 <charlie@charlieroot.dev>
Co-authored-by: Alyssa Ross <hi@alyssa.is>
2025-07-16 14:24:36 +01:00
matthewcroughan 9783bde2f4 nixos/sheep-net: init 2025-07-15 19:16:41 +01:00
matthewcroughan dba9b2cb9c nixos/kryoflux: fix typo programs.kryoflux -> hardware.kryoflux 2025-07-15 19:05:57 +01:00
Matthew Croughan ab7ac10545
kryoflux: init at 3.50 (#423548) 2025-07-15 19:00:08 +01:00
matthewcroughan 24f92176fb nixos/kryoflux: init 2025-07-14 22:26:58 +01:00
Svenum cfe95170f1 nixos/fw-fanctrl: init 2025-07-13 18:22:47 +02:00
Connor Baker 7d02b73d0a
nixos/hardware/nvidia: add prime.offload.offloadCmdMainProgram (#407588) 2025-06-09 15:20:49 -07:00
Masum Reza c9f192da92
nixos/amdgpu: add overdrive and ppfeaturemask option (#411155)
- `programs.corectrl.gpuOverclock.enable` -> `hardware.amdgpu.overdrive.enable`
- `programs.corectrl.gpuOverclock.ppfeaturemask` -> `hardware.amdgpu.overdrive.ppfeaturemask`
- `programs.tuxclocker.enableAMD` -> `hardware.amdgpu.overdrive.enable`
2025-05-27 19:45:13 +05:30
Peder Bergebakken Sundt 340cd4a445 nixos/hardware/nvidia: add prime.offload.offloadCmdMainProgram
prime-run is the default name on arch linux. This allows me and some others I found on github to slim their config.
2025-05-16 12:57:10 +02:00
Seth Flynn 8e551be5f1
nixos/graphics: don't mark package options as internal 2025-05-10 14:36:08 -04:00
Cryolitia PukNgae ef059726f1
nixos/xone: enable xpad-noone by default
Co-authored-by: misuzu <neironyan@gmail.com>
2025-04-29 22:38:48 +08:00
Gaetan Lepage 419e4d1822 nixos/hardware/nvidia: eager load nvidia-uvm for open driver
Fixes contingent CUDA issues with open driver:
https://github.com/NixOS/nixpkgs/issues/334180

Co-authored-by: Someone Serge <else@someonex.net>
2025-04-18 01:23:26 +02:00
Silvan Mosberger 374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Nick Cao c58cb4c034
Update Nvidia busid check (#388892) 2025-03-26 18:33:41 -04:00
misuzu f630533b4a
nixos/xpad-noone: init (#389752) 2025-03-25 11:29:52 +02:00
Cryolitia PukNgae c33e419dd1
nixos/xpad-noone: init 2025-03-17 03:44:58 +08:00
Pol Dellaiera b29c5b7119
treewide: add documentation for nixos systemd units (#389283) 2025-03-15 21:30:08 +01:00
K900 656e50abce
mesa: more cleanups (#387292) 2025-03-13 16:55:54 +03:00
Felix Singer 4d8d5f5782 nixos/libjaylink: init module
By enabling this module, the jlink system group is created and udev
rules from the libjaylink package are enabled. Read-/Write access is
granted to the members of the jlink group and to seat sessions.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2025-03-12 18:42:28 +01:00
h7x4 ab0564bd10
treewide: add documentation for nixos systemd units 2025-03-12 18:00:38 +01:00
K900 5da892d21c mesa: output cleanup, part 2
- build with out-of-tree libgbm
- $drivers -> $out, since $out is basically empty now
2025-03-11 22:16:23 +03:00
MakiseKurisu 72ffdcd4a6
nixos/nvidia: update description of BusIds for caveats 2025-03-11 13:41:34 +08:00
MakiseKurisu 0645e675ef
nixos/nvidia: update busIDType to correctly handle PCI bus domain
There are real devices with 32-bit domain ID 0x10000, which needs 10 digits to represent at the worst case (0xffffffff): open-mpi/hwloc#354

Current test will deny those devices since the field was expecting a Bus ID, which is only 8-bit wide.

Format: https://gitlab.freedesktop.org/xorg/xserver/-/blob/master/hw/xfree86/common/xf86pciBus.c#L263

Fixes: ce2e4707b7
2025-03-11 13:36:15 +08:00
Franz Pletz 7978d240c2
nixos/iosched: exclude loop devices by default; mention in release notes (#385106) 2025-03-09 09:38:05 +01:00
Mikael Voss 54bd09a515
nixos/iosched: exclude loop devices by default 2025-03-08 21:56:51 +01:00
Sandro Jäckel 7d99d5d3f4
nixos/nvidia: add a read only enabled option
similar to the one from zfs
2025-03-03 14:20:15 +01:00
Mikael Voss 3c0be38ee0
nixos/iosched: init module 2025-02-25 00:08:06 +01:00
Felix Singer 9eac410097 nixos/libftdi: Init module
By enabling this module, the ftdi system group is created and udev
rules from the libftdi package are enabled. Read-/Write access is
granted to the members of the ftdi group and to seat sessions.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2025-02-21 18:42:20 +01:00
Christoph Honal a05198804c nixos/nfc-nci: init 2025-02-10 15:59:53 +01:00
Gavin John 572d780fbe
nixos/rtl-sdr: adopt 2025-01-28 13:26:29 -08:00
Gavin John c8e664839b
nixos/rtl-sdr: modernize 2025-01-28 13:26:28 -08:00
piegames 603733851b treewide: Fix incorrect string escapes 2025-01-07 19:49:28 +01:00
Pol Dellaiera d562f18cd8
nixos/hardware.pcmcia: Fix passthru.function usage (#370929) 2025-01-05 05:56:34 +01:00
Mynacol e9d9adb73f nixos/hardware.pcmcia: Fix passthru.function usage
passthru.function is not existent, instead use overrideAttrs which has
almost the intended functionality. It triggers a rebuild, which
_should_ be fine for this package.
2025-01-04 17:29:00 +00:00
Victor Engmark 6bb5aa2d26
nixos/printers: Fix ShellCheck issue
Fixes the following warning when setting
`systemd.enableStrictShellChecks = true`:

> In /nix/store/a3mk99mgl10a4k3maxx361hdli5p2rip-unit-script-ensure-printers-start/bin/ensure-printers-start line 6:
> /nix/store/26fb46gwc5sbd045nj3dxw4zqpml359i-cups-2.4.11/bin/lpadmin -D 'virtual printer for cups-pdf instance pdf' -L '/var/spool/cups-pdf-pdf/users/${USER}' -m CUPS-PDF_opt.ppd -p pdf -v cups-pdf:/pdf -E
>                                                                                                                       ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that.
2025-01-04 18:08:22 +01:00
Donovan Glover 67bdaab2c4
wootility: 4.6.21 -> 4.7.2; wooting-udev-rules: update to latest recommended rules (#357836) 2024-12-26 10:21:49 +00:00
Linus Karl b325158bc2 wooting: update module description 2024-12-26 00:41:03 +01:00
Ramses 4af8ef3cd7
Remove Some Static IDs (#367563) 2024-12-24 11:34:14 +01:00
Will Fancher 55e8064b0b Revert "nixis/uinput: use a fixed GID for the uinput group"
This reverts commit 70119aa60f.
2024-12-23 01:21:59 -05:00
Edward Tjörnhammar 438969f9ee nixos/nvidia: add nvidia_dc_565 drivers
Also remove dc_520
2024-12-19 16:53:08 +00:00
Edward Tjörnhammar 51fabd133e nixos/nvidia: run nixfmt on nvidia related files 2024-12-19 16:53:08 +00:00
Wolfgang Walther df929235ee
steam-devices-udev-rules: init at 1.0.0.61-unstable-2024-05-22; nixos/hardware.steam-hardware: use steam-devices-udev-rules (#363563) 2024-12-15 20:02:56 +01:00
misuzu c305a64255
nixos/nvidia: make VA-API support optional (#364945) 2024-12-14 12:34:08 +02:00
jopejoe1 dfd7b67092
nixos: add option hardware.enableAllHardware (#364479) 2024-12-14 00:03:52 +00:00
Moritz Sanft fad6e19f35
nixos/nvidia: make VA-API support optional
This adds a knob to disable VA-API support. For use-cases like AI servers, which do not need to perform video acceleration, this can be a useful tweak to reduce size of the system closure a lot, as the VA-API drivers are heavy.

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
2024-12-13 16:09:21 +01:00
Torben Schweren 6cc454478d
nixos/inputmodule: init module 2024-12-12 22:58:26 +01:00
DavHau 4e77d446f7 all-hardware.nix: format with nixfmt 2024-12-12 16:47:27 +07:00
DavHau 08783a39b0 nixos: add option hardware.enableAllHardware
This allows users to simply enable support for all hardware by enabling the option `hardware.enableAllHardware`, instead of having to import `modules/profiles/all-hardware.nix`.

This is better, as the enableAllHardware option will be discoverable via search.nixos.org, while the `all-hardware.nix` is hidden inside nixpkgs and hard to discover.

Backward compatibility is provided by replacing the old `profiles/all-hardware.nix` with a file that sets the `enableAllHardware` option to true.
2024-12-12 16:45:25 +07:00
DavHau 45628b1432 all-hardware: move to hardware/all-hardware.nix 2024-12-12 12:26:36 +07:00