Sefa Eyeoglu
17313151da
nixos/monado: install monado-vulkan-layers ( #301044 )
2024-10-31 19:21:38 +01:00
Sefa Eyeoglu
0642aa2f53
nixos/monado: install monado-vulkan-layers
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-10-24 15:01:42 +02:00
Rafael Fernández López
3f119f80a5
nvidia-container-toolkit: assert nvidia driver is present
...
Also, do not add the `nvidia` driver to `videoDrivers` automatically;
assert it is present (or the datacenter one) instead.
2024-10-22 00:05:26 +02:00
r-vdp
c9160efd81
nixos/kmonad: init
2024-10-18 11:47:26 +02:00
Someone
a9b63f037b
nvidia-container-toolkit: add "nvidia" to services.xserver.videoDrivers ( #344174 )
2024-10-14 19:58:35 +00:00
Tom Vincent
069e6f3262
nixos/upower: update percentage defaults
...
Current defaults were added in aecfea0 , which were in turn based on upstream:
28bd86c181/etc/UPower.conf .
Current upstream config:
94c91f93f1/etc/UPower.conf
2024-09-27 09:41:55 +01:00
Rafael Fernández López
0d3c3735e5
nvidia-container-toolkit: add "nvidia" to services.xserver.videoDrivers
...
This will ensure that all requirements are met when the
nvidia-container-toolkit is enabled in order to generate the CDI specs
for the machine.
Also, if `config.virtualisation.docker.rootless.enable` is true,
automatically enable the CDI feature if the Docker version > 25 for
the rootless installation.
2024-09-24 17:10:07 +02:00
Robert Schütz
030f88a326
nixos/iptsd: Touch was renamed to Touchscreen in v3
2024-09-23 12:31:51 -07:00
Josh Hoffer
4080d35d2b
nixos/udev: only restart when udev rules change
...
Only restart `systemd-udevd.service` if udev rules in `/etc/udev/rules`
actually changed. The paths of `services.udev.packages` may change
frequently but the resulting udev rules built by `udevRulesFor`
likely change less often.
This has the added benefit of not adding `services.udev.packages` to
the system closure if they are only used for their udev rules
(issue #308937 ).
2024-09-19 17:26:01 +02:00
Marco Rebhan
3b12ef2f6f
nixos/udisks2: add package option
2024-09-09 14:13:08 +02:00
sohalt
896663ce96
nixos/spacenavd: Use upstream module
2024-09-04 19:01:41 +02:00
Benno Bielmeier
b8c7d88784
nixos/services.thinkfan: fix undefined variables
...
In d9dc50dc11 the usage of `with lib;` has
been removed from thinkfan.nix. Unfortunately, adjusting the check line
and its usage of the functions all,id,zipListsWith has not been updated
resulting in evaluation errors complaining about "undefined variable".
Update: partly covered in 0646a0771b of #339084
rel: #208242
2024-09-03 10:42:28 +02:00
Felix Buehler
0646a0771b
nixos/services.thinkfan: fix all & id
2024-09-02 21:12:56 +02:00
Felix Buehler
6747d84812
nixos/services.kanata: fix utils
2024-09-01 19:42:03 +02:00
Felix Bühler
30eba5df55
nixos/services.libinput: remove with lib; ( #338054 )
2024-08-30 23:15:31 +02:00
Felix Buehler
a79aa024ca
nixos/services.usbmuxd: remove with lib;
2024-08-30 00:30:54 +02:00
Felix Buehler
ab7b22c311
nixos/services.upower: remove with lib;
2024-08-30 00:30:54 +02:00
Felix Buehler
c1573bb3ef
nixos/services.undervolt: remove with lib;
2024-08-30 00:30:54 +02:00
Felix Buehler
0de89d26ea
nixos/services.udisks2: remove with lib;
2024-08-30 00:30:53 +02:00
Felix Buehler
b00fba5c63
nixos/services.udev: remove with lib;
2024-08-30 00:30:53 +02:00
Felix Buehler
48633eb323
nixos/hardware.tuxedo-rs: remove with lib;
2024-08-30 00:30:53 +02:00
Felix Buehler
624ea29c27
nixos/services.triggerhappy: remove with lib;
2024-08-30 00:30:53 +02:00
Felix Buehler
cb1696c728
nixos/services.tlp: remove with lib;
2024-08-30 00:30:53 +02:00
Felix Buehler
00052ae198
nixos/services.throttled: remove with lib;
2024-08-30 00:30:52 +02:00
Felix Buehler
d9dc50dc11
nixos/services.thinkfan: remove with lib;
2024-08-30 00:30:52 +02:00
Felix Buehler
f4fdd33746
nixos/services.thermald: remove with lib;
2024-08-30 00:30:52 +02:00
Felix Buehler
b80de00ac6
nixos/services.tcsd: remove with lib;
2024-08-30 00:30:52 +02:00
Felix Buehler
d59ce5878b
nixos/hardware.spacenavd: remove with lib;
2024-08-30 00:30:52 +02:00
Felix Buehler
131116e4f0
nixos/services.saned: remove with lib;
2024-08-30 00:30:51 +02:00
Felix Buehler
e2a4b6715f
nixos/services.ratbagd: remove with lib;
2024-08-30 00:30:51 +02:00
Felix Buehler
439cb745b0
nixos/hardware.rasdaemon: remove with lib;
2024-08-30 00:30:51 +02:00
Felix Buehler
08ec49ef41
nixos/services.pommed: remove with lib;
2024-08-30 00:30:51 +02:00
Felix Buehler
2f256fd905
nixos/services.pcscd: remove with lib;
2024-08-30 00:30:51 +02:00
Felix Buehler
b2d74343f1
nixos/services.openrgb: remove with lib;
2024-08-30 00:30:50 +02:00
Felix Buehler
78b24bea0f
nixos/services.lirc: remove with lib;
2024-08-30 00:30:50 +02:00
Felix Buehler
827d9dfac9
nixos/services.keyd: remove with lib;
2024-08-30 00:30:50 +02:00
Felix Buehler
3b7622d31b
nixos/services.kanata: remove with lib;
2024-08-30 00:30:50 +02:00
Felix Buehler
f5c96d88c1
nixos/services.joycond: remove with lib;
2024-08-30 00:30:50 +02:00
Felix Buehler
d71be6eda5
nixos/services.irqbalance: remove with lib;
2024-08-30 00:30:49 +02:00
Felix Buehler
650db2b016
nixos/services.interception-tools: remove with lib;
2024-08-30 00:30:49 +02:00
Felix Buehler
d3a4a69eda
nixos/services.illum: remove with lib;
2024-08-30 00:30:49 +02:00
Felix Buehler
8ebc06069d
nixos/services.fwupd: remove with lib;
2024-08-30 00:30:49 +02:00
Felix Buehler
6c707fe30f
nixos/services.freefall: remove with lib;
2024-08-30 00:30:49 +02:00
Felix Buehler
29536d4a4d
nixos/services.fancontrol: remove with lib;
2024-08-30 00:30:48 +02:00
Felix Buehler
3822e798f8
nixos/services.brltty: remove with lib;
2024-08-30 00:30:48 +02:00
Felix Buehler
555402cee5
nixos/services.bolt: remove with lib;
2024-08-30 00:30:48 +02:00
Felix Buehler
efcfb7ec52
nixos/services.auto-cpufreq: remove with lib;
2024-08-30 00:30:48 +02:00
Felix Buehler
f8305b629b
nixos/services.acpid: remove with lib;
2024-08-30 00:30:48 +02:00
Felix Buehler
3314fc7215
nixos/services.libinput: remove with lib;
2024-08-29 00:35:47 +02:00
Someone
4faf4ca9af
nvidia-container-toolkit: only mount existing paths in the host ( #319772 )
2024-08-27 11:18:18 +00:00
Vili Sinervä
13f07436d4
nixos/libinput: Change new options to more appropriate data types
...
Change the options to be numbers or lists of numbers instead of strings
like the pre-existing options.
2024-08-25 13:45:14 +02:00
Vili Sinervä
891202ef1f
nixos/libinput: Clarify that accelSpeed does not apply to custom profile
...
Add note to the description of the accelSpeed option to make it clear
that is only applies when flat or adaptive profile is in use.
2024-08-25 13:45:14 +02:00
Vili Sinervä
3aa3236289
nixos/libinput: Add options for defining a custom acceleration functions
...
Without these options the custom acceleration functions would have to be
defined with the additionalOptions option.
2024-08-25 13:45:14 +02:00
Vili Sinervä
34302b2424
nixos/libinput: Allow 'custom' acceleration profile
...
This is an option that works with the NixOS module as-is, but is
being blocked from use by the allowed enum values.
2024-08-25 13:45:14 +02:00
Someone
2d7db58c2f
Merge pull request #313225 from ereslibre/nvidia-consistent-casing
...
docs: fix Nvidia casing to be consistent across different places
2024-08-22 16:51:41 +00:00
Rafael Fernández López
d665ca4fb2
nvidia-container-toolkit: add initial set of tests to check closures
2024-08-19 19:40:28 +02:00
Rafael Fernández López
2b883410d4
nvidia-container-toolkit: only mount existing paths in the host
2024-08-19 19:34:34 +02:00
Sarah Brofeldt
ba99ba8ea7
Merge pull request #327914 from 0z13/nvidia-container-toolkit-device-name
...
nixos/nvidia-container-toolkit: add device-name-strategy option
2024-08-13 10:41:45 +02:00
Jonathan Zielinski
42e7fd46e7
nixos/nvidia-container-toolkit: add device-name-strategy option
...
Containerd will fail to inject CDI devices if you've been using the
uuid naming strategy rather than the default one.
2024-07-30 15:25:48 +00:00
Jörg Thalheim
5356420466
treewide: remove unused with statements from maintainer lists
...
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
-e 's!with lib.maintainers; \[ *\];![ ];!' \
-e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
Franz Pletz
985acc7254
Merge pull request #326224 from NickCao/udev-kvm
2024-07-28 07:01:48 +02:00
Guillaume Girol
bbd80e97f9
Merge pull request #328459 from onny/sane-backends-fix
...
sane-backends: 1.2.1 -> 1.3.1
2024-07-24 20:40:47 +02:00
Jonas Heinrich
4edef1362f
sane-backends: configure and use lock dir
2024-07-22 16:46:30 +02:00
lassulus
3575fad9da
Merge pull request #323466 from andersk/grep-stray
...
nixos/udev: Fix `grep: warning: stray \ before /`
2024-07-18 23:02:07 +02:00
Krzysztof Nazarewski
676a51c41f
nixos/hardware.display: init
2024-07-18 16:57:40 +03:00
Nick Cao
5df12940bd
nixos/udev: remove rules for /dev/kvm
...
Permissions on /dev/kvm are already specified by tmpfiles.d rules
Reference: https://github.com/systemd/systemd/blob/v255/tmpfiles.d/static-nodes-permissions.conf.in#L18
2024-07-10 21:06:01 -04:00
Anders Kaseorg
1e68bdf3a4
nixos/udev: Fix grep: warning: stray \ before /
...
This reverts commit dbe2325603 , which
was mistaken: `/` matches exactly the same things matched by `\/` but
without the warning.
Fixes #316561 .
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2024-06-29 17:38:25 -04:00
éclairevoyant
aeee4fc133
treewide: replace mkPackageOptionMD with mkPackageOption
2024-06-26 23:05:42 -04:00
Paul Meyer
fbe8538aa1
treewide: remove jonringer as package maintainer
...
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-06-25 09:16:56 +02:00
John Titor
641ea1c57e
nixos/amdgpu: cleanup occurance of hardware.opengl
...
Unfortunately this got missed in
https://github.com/NixOS/nixpkgs/pull/320228
2024-06-21 21:40:11 +05:30
K900
5ce022e0e0
Merge pull request #319865 from JohnRTitor/amdgpu-module
...
nixos/amdgpu: init module
2024-06-20 14:29:01 +03:00
John Titor
6a0b6a6b74
nixos/amdgpu: init module
2024-06-18 10:04:03 +05:30
K900
98cef4c273
treewide: big opengl cleanup
...
- rename hardware.opengl to hardware.graphics
- remove hardware.opengl.driSupport, which does nothing
- remove hardware.opengl.setLdLibraryPath, which should never be done
- rename hardware.opengl.driSupport32Bit to hardware.graphics.enable32Bit
- lost of small docs / formatting cleanups
2024-06-16 14:11:33 +03:00
Masum Reza
7082d01967
nixos/amdvlk: init module ( #318175 )
2024-06-12 22:45:01 +02:00
Stu Small
12bd55a1a3
nixos/power-profiles-daemon: Add assertion with auto-cpufreq
...
auto-cpufreq is similar to tlp in that it shouldn't be run with
power-profiles-daemon. There functionality can conflict and bugs can
show up. On my system this materialized by auto-cpufreq frequently
shutting down, but there may be other consequences.
This change follows the same pattern as the tlp assertion
2024-06-08 13:01:08 -06:00
Abílio Costa
79cd2f9738
nixos/nvidia-optimus: add nvidia-modeset to blacklist
...
The nvidia-modeset module is loaded, which in turn pulls in the nvidia module. This makes bbswitch fail to turn off the card since it would be in use by the module.
2024-06-03 23:18:34 +01:00
Sandro Jäckel
41452802cb
treewide: fix all obviously wrong mkEnableOptions
2024-06-03 13:20:32 +02:00
Rafael Fernández López
79c79671a7
hardware/nvidia-container-toolkit: mount nvidia-driver/share
2024-05-27 23:44:32 +02:00
Lin Jian
d679ddfcab
nixos/kanata: add a configFile option
...
This brings two benefits. For one thing, it exposes the generated
config file which users can build separately to validate it. For
another, it allows users to provide their own config file.
2024-05-23 06:42:41 +08:00
Rafael Fernández López
7749696f61
docs: fix Nvidia casing to be consistent across different places
2024-05-20 22:17:31 +02:00
celeri
12e2e82939
nixos/thermald: improve doc and code about configFile and adaptive
2024-05-16 11:41:56 -04:00
Ilya Epifanov
2099ff760f
thermald: fixed handling of an external config
2024-05-11 12:32:49 +02:00
Linus Heckemann
a10842c7f0
Merge pull request #302300 from Ma27/kernel-zstd
...
linux kernel: prefer zstd where possible
2024-05-08 15:17:45 +02:00
Pol Dellaiera
9f3f549360
Merge pull request #309550 from linj-fork/pr/kanata-check-config-at-build-time
...
nixos/kanata: check the config file at build time
2024-05-07 09:59:18 +02:00
Lin Jian
75a864edf1
nixos/kanata: replace deflayer with deflayermap in config example
...
IMHO, this style is more intuitive.
2024-05-07 01:52:08 +08:00
Lin Jian
4eafe1458d
nixos/kanata: improve links to the upstream documentation
2024-05-07 01:51:57 +08:00
Lin Jian
f7b50c3977
nixos/kanata: improve example of the package option
...
Before this patch, it is rendered as "Example: kanata-with-cmd".
With this patch applied, it is "Example: pkgs.kanata-with-cmd".
2024-05-07 01:51:51 +08:00
Lin Jian
1d93534ec4
nixos/kanata: check the config file at build time
...
Before this patch, checking the config file is done at runtime.
Doing so at build time shortens the feedback loop[1][2].
[1]: https://github.com/NixOS/nixpkgs/issues/278135
[2]: https://github.com/jtroo/kanata/issues/689
2024-05-06 20:25:09 +08:00
Sandro
85808e4b33
Merge pull request #304902 from SuperSandro2000/libinput-xserver
...
nixos/libinput: move out of xserver
2024-04-27 23:23:06 +02:00
Rafael Fernández López
eb59699fbb
hardware/nvidia-container-toolkit: enable CDI on virtualisation.docker.daemon.settings
2024-04-24 18:08:04 +02:00
Someone
7035968845
Merge pull request #290979 from ereslibre/cdi-add-nvidia-docker-1-directories
...
CDI: Add `mount-nvidia-binaries` and `mount-nvidia-docker-1-directories` options
2024-04-23 19:55:41 +00:00
Rafael Fernández López
de3ce5ffa7
nixos/nvidia-container-toolkit: add mount-nvidia-executables and mount-nvidia-docker-1-directories options
...
- `mount-nvidia-binaries`: this option allows users to avoid mounting
nvidia binaries on the container.
- `mount-nvidia-docker-1-directories`: this option allows users to
avoid mounting `/usr/local/nvidia/lib{,64}` on containers.
2024-04-23 12:31:45 +02:00
Rafael Fernández López
471ff2c33c
nixos/nvidia-container-toolkit: rename from virtualisation.containers.cdi.dynamic.nvidia.enable
...
Add the NixOS option `hardware.nvidia-container-toolkit-cdi-generator.enable`.
This enables the ability to expose GPU's in containers for container
runtimes that support the Container Device Interface (CDI)
Remove `cdi.static` and `cdi.dynamic.nvidia.enable` attributes.
2024-04-23 12:26:00 +02:00
Maximilian Bosch
b6ef9ffdfd
nixos/udev: compress firmware with zstd if possible
...
Closes #267442
$ nix path-info -Sh /nix/store/qj1dm7wfw5m3mxf1gn3fdm0az9y1h5ny-linux-firmware-20240312-xz
/nix/store/qj1dm7wfw5m3mxf1gn3fdm0az9y1h5ny-linux-firmware-20240312-xz 440.3M
$ nix path-info -Sh /nix/store/c3szcjxb3g990dbiz7llwmkaf0bi98j2-linux-firmware-20240312-zstd
/nix/store/c3szcjxb3g990dbiz7llwmkaf0bi98j2-linux-firmware-20240312-zstd 460.6M
This is an increase of 4.4%, but OTOH zstd has a significantly higher
decompression speed[1].
[1] https://gregoryszorc.com/blog/2017/03/07/better-compression-with-zstandard/
2024-04-19 16:46:25 +02:00
Sandro Jäckel
810558a46b
nixos/libinput: move out of xserver
2024-04-17 23:34:07 +02:00
Sandro
3814255973
Merge pull request #300995 from SuperSandro2000/udev-nixos-wsl
...
nixos/udev: make more NixOS WSL friendly
2024-04-17 22:39:10 +02:00
stuebinm
6afb255d97
nixos: remove all uses of lib.mdDoc
...
these changes were generated with nixq 0.0.2, by running
nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix
two mentions of the mdDoc function remain in nixos/, both of which
are inside of comments.
Since lib.mdDoc is already defined as just id, this commit is a no-op as
far as Nix (and the built manual) is concerned.
2024-04-13 10:07:35 -07:00
Bjørn Forsman
a29010fe79
nixos: improve many 'enable' descriptions
2024-04-09 07:10:17 +02:00
Sandro Jäckel
4677729c56
nixos/udev: only load firmware from udev when the nixos kernel is used
...
This is not the case for eg. NixOS in WSL
2024-04-02 18:14:50 +02:00
Sandro Jäckel
413f779bc0
nixos/udev: don't create modprobe config if modprobe is disabled
2024-04-02 18:14:25 +02:00
anna
de9db9a27b
brscan5: fix sane config path
2024-03-28 16:02:51 +01:00
Lily Foster
1801583855
nixos/fwupd: fix silent failure for uefiCapsuleSettings to ever be added
...
Bug was introduced in 28ea07d4e3 .
2024-03-09 12:44:46 -05:00
Someone
46b75bf589
Merge pull request #291828 from SomeoneSerge/refactor/cdi-nvidia
...
nixos/cdi.dynamic.nvidia: expose driverLink
2024-03-04 18:32:34 +00:00
Atemu
97f445e8f1
Merge pull request #245005 from Scrumplex/nixos-monado
...
nixos/monado: init
2024-02-27 20:11:04 +00:00
Someone Serge
2a63db4e6f
nixos/virtualisation.containers.cdi.dynamic.nvidia: expose driverLink
...
..shallowly
2024-02-27 12:50:59 +00:00
Someone Serge
65dbac7215
nixos/virtualisation.containers.cdi.dynamic.nvidia: refactor w/ callPackage
2024-02-27 11:59:57 +00:00
Sandro
806772b178
Merge pull request #274662 from StarGate01/pcscd-debug
2024-02-24 01:23:10 +01:00
Michele Guerini Rocco
ed9121e5d7
Merge pull request #282758 from rht/hardware_no_network
...
hddfancontrol & thinkfan: disable network access.
2024-02-24 00:15:24 +01:00
Christoph Honal
6c5bcf43f1
nixos/pcscd: Add extraArgs option
2024-02-23 16:52:36 +01:00
Sefa Eyeoglu
3f7e9baeeb
nixos/monado: prevent Monado from restarting quickly
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-02-23 14:25:16 +01:00
Sefa Eyeoglu
0e585a63e2
nixos/monado: make CAP_SYS_NICE wrapper configurable
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-02-23 14:25:16 +01:00
Sefa Eyeoglu
2d2493b23d
nixos/monado: add option to make Monado the default OpenXR runtime
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-02-23 14:25:15 +01:00
Sefa Eyeoglu
ce36e73fdb
nixos/monado: link OpenXR runtimes
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-02-23 14:25:15 +01:00
Sefa Eyeoglu
9003167522
xr-hardware: init at unstable-2023-11-08
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-02-23 14:25:15 +01:00
Sefa Eyeoglu
5d57df8a80
nixos/monado: init
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-02-23 14:25:15 +01:00
Rafael Fernández López
8ba61ebb8a
services/hardware: add nvidia-container-toolkit
2024-02-21 22:17:07 +01:00
Someone
5dec53ad28
Merge pull request #289401 from philiptaron/bolt
...
nixos/bolt: add a services.hardware.bolt.package option
2024-02-17 12:17:18 +00:00
jacekpoz
86abdfdf87
nixos/asusctl: add package option
2024-02-17 21:34:35 +11:00
Philip Taron
ad029745ce
nixos/bolt: add a services.hardware.bolt.package option
...
It just seems like good manners.
2024-02-16 14:56:20 -08:00
maxine
8c8cc53769
Merge pull request #288531 from chewblacka/update-undervolt
...
undervolt: 0.3.0 -> 0.4.0
2024-02-14 17:30:53 +01:00
Michele Guerini Rocco
bac2597d26
Merge pull request #270737 from bramd/brltty-6.6
...
Update BRLTTY to 6.6
2024-02-14 14:10:32 +01:00
John Garcia
eaa1034a80
nixos/undervolt: add turbo option
2024-02-13 13:38:22 +00:00
Maxine Aubrey
4a4904c2b2
nixos/fwupd: make test option internal, be explicit about removal
2024-02-11 20:27:02 +01:00
maxine
53f6fedd04
Merge pull request #287512 from r-vdp/fwupd_1_9_13
...
fwupd: 1.9.12 -> 1.9.13
2024-02-10 11:05:51 +01:00
r-vdp
12de1b3a38
fwupd: 1.9.12 -> 1.9.13
...
Changelog: https://github.com/fwupd/fwupd/releases/tag/1.9.13
2024-02-09 16:45:09 +01:00
Martin Weinelt
27fa02d0f1
Merge remote-tracking branch 'origin/staging-next' into staging
...
Conflicts:
- pkgs/development/compilers/llvm/10/clang/default.nix
- pkgs/development/compilers/llvm/8/clang/default.nix
2024-02-01 12:25:11 +01:00
Tungsten842
c1afcd1c8c
Revert "acpid: Disable network access"
2024-01-30 22:49:43 +01:00
github-actions[bot]
2f68b418f1
Merge staging-next into staging
2024-01-30 06:01:22 +00:00
Luke Granger-Brown
a12b828a26
Merge pull request #277661 from appsforartists/handheld-daemon
...
handheld-daemon: init at 1.1.0
2024-01-30 04:01:11 +00:00
Brenton Simpson
b960a217bd
handheld-daemon: touchup code style to better match nixpkgs
...
Co-authored-by: h7x4 <h7x4@nani.wtf>
Co-authored-by: Luke Granger-Brown <git@lukegb.com>
Co-authored-by: Bruno BELANYI <bruno@belanyi.fr>
2024-01-29 17:20:30 -08:00
Sandro Jäckel
3da096a5c3
pcsclite: move binaries, polkit, systemd files to out, move libraries to lib
...
This should make the things related to the udev rules and binaries a lot
simpler and more expected.
2024-01-28 19:31:54 +01:00
Nick Cao
8138e47046
Merge pull request #284115 from jacekpoz/ratbagd-module
...
nixos/ratbagd: add package option
2024-01-27 11:12:55 -05:00
jacekpoz
49130d8bf7
nixos/ratbagd: add package option
2024-01-26 22:58:44 +01:00
r-vdp
28ea07d4e3
fwupd: 1.9.11 -> 1.9.12
...
The fwupd daemon refuses to start when there is an uefi_capsule key without any
values in the config file, so I modified the module to only include this
key when there are actually values that go inside.
2024-01-24 20:29:01 +01:00
Brenton Simpson
f571033ce0
handheld-daemon: use kebab-case instead of camelCase for service name
2024-01-22 19:26:43 -08:00
Brenton Simpson
bcf9a24332
handheld-daemon: init at 0.2.7
2024-01-22 19:26:42 -08:00
rht
cee68718db
hddfancontrol: Disable network access
2024-01-21 21:09:13 -05:00
rht
25181b596f
thinkfan: Disable network access
2024-01-21 21:09:01 -05:00
Sandro
35ef7edaea
Merge pull request #281421 from SuperSandro2000/pcsc-polkit
2024-01-17 15:21:26 +01:00
rht
fb8b20d90e
acpid: Disable network access
2024-01-17 06:46:34 -05:00
Sandro Jäckel
6b1e46597f
nixos/pcscd: fix linking of org.debian.pcsc-lite.policy file for polkit
2024-01-17 00:28:22 +01:00
Sandro Jäckel
304228fe1c
Revert "nixos/pcscd: suggest yubikey-personalization for additional udev rules"
...
This reverts commit 6ecb73df1b .
2024-01-15 13:29:34 +01:00
Sandro Jäckel
74808f169c
nixos/pcscd: remove noop restartTriggers
2024-01-14 18:03:31 +01:00
Sandro Jäckel
6ecb73df1b
nixos/pcscd: suggest yubikey-personalization for additional udev rules
2024-01-14 18:03:31 +01:00
Sandro Jäckel
c09acaa905
nixos/pcscd: cleanup code
2024-01-14 18:03:30 +01:00
Christian Kögler
7caca1b185
nixos/vdr: add option user/group and more admin control
...
- Add option to set user and group name
- Set users home to runtime directory, to avoid mixing of temporal files
like caches
- Allow admin to control LIRC service by avoiding LIRC enabling
- Allow admin to set libDir, by removing setting argument config to default
- Add package to environment, to allow easy access for admins to helper
tools like svdrpsend and vdr -h
- Cleanup Nix code by avoiding with statement
2024-01-02 23:17:46 +01:00
Guillaume Girol
38034a860a
Merge pull request #273286 from nh2/sane-backends-package-option
...
Add hardware.sane.backends-package option.
2024-01-01 21:43:35 +01:00
markuskowa
009b625a54
Merge pull request #277792 from ck3d/vdr-updates-2023-12
...
vdr: updates 2023/12
2024-01-01 16:58:11 +01:00
Maciej Krüger
2d9d11dee6
Merge pull request #251782 from vifino/thermald_ignore-cpuid-check
...
thermald: allow ignoring cpuid check
2023-12-31 11:30:50 +01:00
Christian Kögler
1c326dcb4f
nixos/vdr: wait for network
2023-12-30 21:58:24 +01:00
Lin Jian
ff19ecca71
nixos/kanata: specify linux-dev as a list
...
This is better because it allows some special characters in the device
path. See [1] for more information.
[1]: https://github.com/jtroo/kanata/pull/647
2023-12-23 10:10:15 +08:00
Peder Bergebakken Sundt
80beaf2b29
Merge pull request #245327 from JohnAZoidberg/keyd-2.4.3
...
keyd: 2.4.2 -> 2.4.3
2023-12-17 23:41:06 +01:00
Florian Klink
fe446f8bb4
nixos/udev: allow /bin/sh in udev rules
...
Using `/bin/sh` in udev rules is fine (as it's guaranteed to point to a
(bash) shell on NixOS), and actually is better than hardcoding absolute
paths, at least in cases where these rules are also added to the
(systemd-based) initrd (via boot.initrd.services.udev.rules).
To allow this, we need to update the check routine that assembles the
list of files needing fixup, to explicitly exclude `/bin/sh` occurences.
To do this, we convert the pattern to a PCRE regex (which requires "/"
to be escaped), and add `(?!/bin/sh\b)` as a negative lookahead.
This subsequently allows udev rules to (start using) `/bin/sh` again, so
they'll work in-initrd.
2023-12-14 19:14:13 +02:00
Florian Klink
cb0fb74a2b
nixos/udev: update description for services.udev.path
...
services.udev.path already contains some defaults, these are however
defined in the module implementation, not options.
Update the description to make this more clear.
2023-12-14 18:09:54 +02:00
Niklas Hambüchen
d65c4445a9
Add hardware.sane.backends-package option.
...
Allows overriding `sane-backends` drivers without rebuilding many packages.
2023-12-10 07:42:17 +01:00
Nick Cao
e9f0a62ef5
nixos/power-profiles-daemon: add package option
2023-12-05 13:21:32 -05:00
Nick Cao
0588b4bda0
nixos/power-profiles-daemon: drop with lib
2023-12-05 13:21:30 -05:00
Pol Dellaiera
9284581a09
Merge pull request #271376 from kallistoteles/thinkfan-service-restart
...
nixos/thinkfan: restart on failure
2023-12-03 12:47:01 +01:00
kalle
f1e6c6641e
nixos/thinkfan: add setting
...
the thinkfan service failed from time to time on my t440s, so I added
restart on fail to the systemd service.
2023-12-03 08:45:03 +01:00
Peder Bergebakken Sundt
23fb8f614b
Merge pull request #261378 from lamarios/auto-epp
...
auto-epp: init at 1.2.1
2023-11-30 19:47:12 +01:00
Paul Fauchon
b034425636
nixos/auto-epp: init
2023-11-29 14:28:25 +08:00
Bram Duvigneau
c2d1cd852f
nixos/brltty: Set isSystemUser for the brltty user
2023-11-28 22:46:03 +01:00
h7x4
0a37316d6c
treewide: use mkPackageOption
...
This commit replaces a lot of usages of `mkOption` with the package
type, to be `mkPackageOption`, in order to reduce the amount of code.
2023-11-27 01:28:36 +01:00
ners
ed31e0235e
treewide: replace broken udev paths with systemd
2023-11-21 15:09:38 +01:00
Silvan Mosberger
3e5bc28ec5
Merge pull request #266598 from infinisil/fix-fwupd
...
nixos/fwupd: Fix fwupd-refresh service
2023-11-14 08:56:25 +01:00
Anthony Roussel
e30f48be94
treewide: fix redirected and broken URLs
...
Using the script in maintainers/scripts/update-redirected-urls.sh
2023-11-11 10:49:01 +01:00
Silvan Mosberger
4587db7279
nixos/fwupd: Don't ignore stderr
2023-11-10 06:54:45 +01:00
Silvan Mosberger
6bf31e521e
nixos/fwupd: Don't use DynamicUser
...
Was introduced in dde6a4f397
but it doesn't work on my machine:
fwupdmgr[439074]: Failed to connect to daemon: The connection is closed
Creating a persistent user does work however
2023-11-10 06:51:56 +01:00
Maximilian Bosch
845cf9943c
Merge pull request #264582 from FliegendeWurst/throttled-modprobe
...
nixos/throttled: load required kernel module
2023-11-04 12:27:38 +01:00
Peter Hoeg
f4856b55dd
nixos/fwupd: make auto-refresh run (and work)
2023-11-03 10:54:41 +01:00
FliegendeWurst
1391725fb5
nixos/throttled: load required kernel module
2023-10-31 22:14:02 +01:00
Will Fancher
cca22054c0
systemd-stage-1: Add assertions for unsupported options.
2023-10-30 12:15:58 +01:00
Robert Schütz
80f59b1626
Merge pull request #261135 from dotlambda/nixos-iptsd-init
...
nixos/iptsd: init
2023-10-22 09:48:37 -07:00
Lorenz Leutgeb
62c63f746a
nixos/undervolt: Use hardware.cpu.x86.msr
2023-10-22 09:41:00 +02:00
Lorenz Leutgeb
b70a63a910
nixos/tlp: Use hardware.cpu.x86.msr
2023-10-22 09:41:00 +02:00
Lorenz Leutgeb
b893b67028
nixos/throttled: Use hardware.cpu.x86.msr
2023-10-22 09:40:59 +02:00
Bjørn Forsman
142074c2a8
nixos: fix bad mkEnableOption descriptions
...
Fix descriptions that don't account for (1) the "Whether to enable"
prefix or (2) the automatically added trailing dot.
2023-10-20 16:22:40 +01:00
Robert Schütz
04b6bd2def
nixos/iptsd: init
2023-10-14 18:52:38 -07:00
woojiq
fee1832e84
nixos/keyd: add extraConfig option
2023-10-07 11:50:04 +03:00
Artturi
31c647207a
Merge pull request #231384 from mrcjkb/tuxedo-rs
2023-09-27 08:08:50 +03:00
Eike Frost
be2b474c00
nixos/tlp fix NetworkManager RDW dispatcher script location
2023-09-26 21:35:54 -04:00
Marc Jakobi
01cc0a605a
nixos/tuxedo-rs: init at 0.2.2
2023-09-26 23:28:05 +02:00
Lin Jian
c5ba4c687e
nixos/kanata: add default value, doc and warning for devices
2023-09-24 17:09:23 +08:00
nicoo
9d27026328
nixos/auto-cpufreq: Add nicoo to maintainers
2023-09-13 10:25:53 +00:00
Weijia Wang
eb1c345512
Merge pull request #253048 from Mic92/openrbg
...
nixos/openrbg: set cpu model based on what microcode updates are enabled
2023-09-07 22:55:34 +02:00
May
7f2ec624dd
auto-cpufreq: 1.7.1 -> 1.9.9 ( #253595 )
...
* auto-cpufreq: 1.7.1 -> 1.9.9
* fix test
* set `meta.buildDocsInSandbox = false`
required because description depends on restricted module argument pkgs
2023-09-06 23:41:24 +02:00
Jörg Thalheim
f6fa02c984
openrbg: set default based on what microcode updates are enabled
...
nixos-generate-config sets either of these, so lets use them
2023-09-03 07:16:52 +02:00
Adrian Pistol
7c9a7925b9
thermald: allow ignoring cpuid check
2023-08-27 16:18:54 +02:00
Benjamin Staffin
63f858bdf8
hddfancontrol: license and metadata tweaks ( #251184 )
...
* nixos/hddfancontrol: missed a few code review tweaks
Following up on https://github.com/NixOS/nixpkgs/pull/239801#pullrequestreview-1498132501
* hddfancontrol: Fix license field
2023-08-24 12:41:43 -04:00
Benjamin Staffin
12b3178bd2
nixos/hddfancontrol: initial module & test
2023-08-23 13:25:29 -04:00
Lin Jian
74fadae942
treewide: stop using types.string
...
It is an error[1] now.
[1]: https://github.com/NixOS/nixpkgs/pull/247848
2023-08-08 21:31:21 +08:00
davidak
62f11e9e1d
Merge pull request #246187 from SuperSamus/hid-nintendo-remove
...
hid-nintendo: remove
2023-08-06 04:07:11 +02:00
Martino Fontana
d9fd4ba733
hid-nintendo: remove
2023-07-30 14:49:27 +02:00
Daniel Schaefer
6591d332f9
nixos/keyd: Allow service to call nice syscall
...
Otherwise it'll be killed by systemd with
Main process exited, code=killed, status=31/SYS
Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
2023-07-26 17:19:49 +08:00
Stzx
e196c81a23
udisks2: fix conf file loading warnings
2023-07-24 11:41:50 +08:00
woojiq
2d3bf20086
nixos/keyd: add support for multi-file configuration
...
Add `keyboards` option to define different configurations for different IDs. This creates the appropriate files in `/etc/keyd` instead of just `default.conf` as before.
Add `23.11` release note entry.
Add `mkRemovedOptionModule` for the old API with a note on how to revert the old behavior.
2023-07-15 11:33:41 +03:00
Will Fancher
73a8ca1674
Merge pull request #240601 from lilyinstarlight/fix/lvm-root-sd-stage-1-unhide
...
nixos/*: unhide remaining systemd stage-1 options
2023-07-03 13:38:12 -04:00
Lily Foster
e9207b0501
nixos/*: unhide remaining systemd stage-1 options
...
These options were missed in NixOS/nixpkgs#226237 , but they all were
specifically added for systemd stage-1.
2023-07-03 08:41:38 -04:00
Domen Kožar
8079c9ac60
nixos: append ccid as a plugin
2023-06-30 16:21:57 +01:00
Michele Guerini Rocco
3bb07bdf2d
Merge pull request #236322 from rnhmjoj/pr-udev-quiet
...
nixos/udev: silence harmless warnings
2023-06-27 10:28:41 +02:00