Commit Graph

570 Commits

Author SHA1 Message Date
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
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 dde6a4f397532bbd01b346466ea751e7c3cd9d06
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