Commit graph

815 commits

Author SHA1 Message Date
Wolfgang Walther 5cbdb94f3a
treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.

(cherry picked from commit 91a8fee3aa)
2025-10-05 12:59:25 +02:00
Seth Flynn 6dacbe7880
nixos/tuned: enable upower with tuned-ppd
Fixes: #431105
(cherry picked from commit 8f2a71ff49)
2025-08-06 20:21:50 -04:00
Seth Flynn 2514f13aa6
nixos/tuned: init
(cherry picked from commit 3eeb7ad06a)
2025-08-02 10:57:37 -04:00
Wolfgang Walther aefcb0d50d
treewide: run nixfmt 1.0.0 2025-07-24 14:58:18 +02:00
Wolfgang Walther a46262ae77
treewide: run treefmt with mdcr/nixfmt 2025-07-24 14:58:15 +02:00
Rafael Fernández López c9f2d52ace nixos/nvidia-container-toolkit: fix tests
(cherry picked from commit d287c86c08)
2025-07-18 13:32:52 +00:00
Jared Baur 1be849b881 nixos/nvidia-container-toolkit: add extraArgs option
(cherry picked from commit 73b4810ff3)
2025-07-11 00:06:48 +00:00
Masum Reza 561ddf49c6
nixos/amdgpu: add overdrive and ppfeaturemask option
- `programs.corectrl.gpuOverclock.enable` -> `hardware.amdgpu.overdrive.enable`
- `programs.corectrl.gpuOverclock.ppfeaturemask` -> `hardware.amdgpu.overdrive.ppfeaturemask`
- `programs.tuxclocker.enableAMD` -> `hardware.amdgpu.overdrive.enable`

(cherry picked from commit c9f192da92)
2025-07-09 12:20:24 -04:00
Rafael Fernández López 62e290f9fa nixos/nvidia-container-toolkit: allow to provide CSV files
(cherry picked from commit 1948ad4bb5)
2025-05-28 15:14:25 +00:00
Seth Flynn 7c2f22b376
nixos/hddfancontrol: use attrset for config (#394826) 2025-05-15 13:49:19 -04:00
r-vdp b7fe0a1c0c
nixos/test/installer: make sure we can build the nixos udev rules 2025-05-12 00:37:03 +02:00
r-vdp 51a43f8ad3
Reapply "nixos/udev: verify udev rules using udevadm"
This reverts commit 5d69558f0d.
2025-05-11 22:55:09 +02:00
K900 5d69558f0d
Revert "nixos/udev: verify udev rules using udevadm" 2025-05-10 00:50:36 +03:00
r-vdp 1278d56d71
nixos/udev: verify all udev rules using udevadm 2025-05-08 20:34:26 +02:00
Arne Keller 041121c765
pid-fan-controller: init at 0.1.1, nixos/pid-fan-controller: init (#336849) 2025-05-04 17:42:37 +02:00
zimward 16ca4e3f44
nixos/pid-fan-controller: init 2025-04-28 16:14:10 +02:00
Yang, Bo dd30fd1285 nvidia-container-toolkit: add suppressNvidiaDriverAssertion option 2025-04-15 23:27:51 +02:00
Rafael Fernández López 71f11f66a0
nvidia-container-toolkit: 1.15.0-rc.3 -> 1.17.5 2025-04-14 10:53:23 +02:00
Austin Horstman d852aa1cbb
hardware.bluetooth: fix configuration directory mode (#396044) 2025-04-10 16:34:27 -07:00
Sandro 96fb883ec4
nixos/bluetooth: fix restartIfChanged
X-RestartIfChanged must be in the Service section, not in Unit and we also have a shortcut for that.

8cc0451ead/nixos/lib/systemd-lib.nix (L796)
2025-04-08 22:22:12 +02:00
Austin Horstman 410e151ba4
hardware.bluetooth: fix configuration directory mode
bluetooth.service: ConfigurationDirectory 'bluetooth' already exists but
the mode is different. (File system: 755 ConfigurationDirectoryMode:
555)
2025-04-04 08:59:53 -05:00
John Titor 30736fc47b nixos/amdvlk: enable 32 bit drivers properly
Closes https://github.com/NixOS/nixpkgs/issues/395087

Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-04-04 08:52:46 +05:30
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
Philip Wilk 3dd5d8606a
nixos/hddfancontrol: use attrset for config
Enables use of multiple instances, eg; multiple drive bays.
2025-03-31 12:48:05 +01:00
Izel Nakri d69fa4d3fb nixos/bitbox-bridge: init
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-03-29 00:49:47 +05:30
Pol Dellaiera dd659174e0
nixos/bluetooth: add systemd hardening (#377927) 2025-03-26 20:32:54 +01:00
liberodark 63b416944c nixos/openrgb: fix issue for G502 2025-03-26 10:02:35 +05:30
h7x4 ab0564bd10
treewide: add documentation for nixos systemd units 2025-03-12 18:00:38 +01:00
Sefa Eyeoglu 9ebdac572e
monado: set VIT_SYSTEM_LIBRARY_PATH so that libbasalt.so can be found (#387175) 2025-03-05 08:44:10 +01:00
34j 783dff1c6f monado: set VIT_SYSTEM_LIBRARY_PATH so that libbasalt.so can be found 2025-03-05 13:39:01 +09:00
Philip Wilk 6a791193b6
nixos/hddfancontrol: support v2 argument format 2025-03-04 20:12:26 +00:00
Technosophist c063a28835 nixos/tlp: fix NetworkManager RDW dispatcher script location (again)
As a result of #350268, the tlp NetworkManager dispatch script no longer worked.  It creates a broken
link to `/usr/lib/NetworkManager/dispatcher.d/99tlp-rdw-nm`.

This removes the `/usr/` prefix so the script is pointing to the right file.
2025-03-02 16:54:42 -05:00
Matei Dibu f91b6f3581 nixos/rasdaemon: add package option 2025-02-28 11:46:35 +02:00
Christian Kögler 95c58aeb88
nixos/tlp: expose package (#375413) 2025-02-16 14:32:43 +01:00
dish c5a30a0de7 nixos/supergfxd: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 48be34d02d nixos/display: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish 0bf7fb1218 nixos/asusd: fix documentation link formatting 2025-02-12 21:03:21 +01:00
misuzu 45798f6e54
Add Thinkpad NXP1001 NFC support using libnfc-nci and PC/SC (#379118) 2025-02-10 20:04:51 +02:00
Christoph Honal 735f85e845 pcscd: allow multiple readerConfig entries 2025-02-10 15:59:53 +01:00
Peder Bergebakken Sundt 18e12e5a85 nixos/*: cleanup code-escaped manpage urls
Done with

    rg '[a-zA-Z.-]+\([0-9]+\)' -tnix nixos/ -l | xe sd '`\{manpage\}`([a-zA-Z.-]+\([0-9]+\))``' '{manpage}`$1`'
2025-02-05 13:22:07 +01:00
Grimmauld 58c1ab247b
nixos/bluetooth: use escapeSystemdExecArgs 2025-01-30 13:11:06 +01:00
Grimmauld f3a53c390f
nixos/bluetooth: add systemd hardening 2025-01-30 13:04:17 +01:00
Peder Bergebakken Sundt 953f72e76e nixos/*: tag manpage references 2025-01-27 02:47:01 +01:00
MithicSpirit dcc7199c4e
nixos/tlp: expose package
This allows viewing and/or modifying the tlp package used by the module,
which is especially important since it might be different from
`pkgs.tlp` due to RDW.
2025-01-26 13:13:46 -05:00
Fazzi cc39de3db2 fancontrol: fix path by using lib.getExe' 2025-01-22 13:40:26 +00:00
William Edwards daaab4b153 nixos/powerstation: init 2025-01-21 19:02:30 -08:00
Ben Brown e81102472a upower: Support Suspend and Ignore CriticalPowerActions 2025-01-10 09:21:01 +00:00
Andreas Fuchs 0c5719fe0e Don't stop systemd-{networkd,resolved,udevd} on config switch
These daemons should not be stopped, as they're foundational to a
proper functioning of the system. When switching configurations, they
only need a restart instead of that stop/start cycle.
2025-01-08 13:05:27 -05:00
Christian Kögler 5abdde9f60
udev: substitute /usr/bin/cat in rules (#370740) 2025-01-05 23:35:03 +01:00
Michael Livshin b758495e5d udev: "--replace" -> "--replace-quiet" in substitutions
"--replace" is deprecated, and neither vocal new alternative is
appropriate in this case.
2025-01-05 17:28:42 +02:00