Jan Tojnar
3a5ba30c13
fwupd: 1.4.6 → 1.5.1
...
* https://github.com/fwupd/fwupd/releases/tag/1.5.0
* https://github.com/fwupd/fwupd/releases/tag/1.5.1
* The changelog mentions removed dependency on efivar but we still need the package because it also contains efiboot required dependency. https://github.com/fwupd/fwupd/pull/2485
* Blacklist options were renamed.
* Test firmware was moved to a separate repo. We need to install it or some tests will be skipped. https://github.com/fwupd/fwupd/pull/2330
* Initially, there was an option to configure dbx but in the end, it was removed in favour of bespoke dbxtool. https://github.com/fwupd/fwupd/pull/2061 , https://github.com/fwupd/fwupd/pull/2318 , https://github.com/fwupd/fwupd/pull/2329
* Fwupd now checks hashes of plug-ins and will complain loudly that it is tainted when “invalid” plug-in is loaded (during testing).
* Installed tests complain about not being able to access cdn, even though we are not setting CI_NETWORK env var. We need a patch to fix that.
2020-11-09 22:50:17 +01:00
Wout Mertens
91d70c1edb
Merge pull request #102273 from rnhmjoj/bluetooth
...
nixos/bluetooth: disable restart on unit changes
2020-11-05 14:21:13 +01:00
Jörg Thalheim
7b5cebfa71
Merge pull request #102237 from oxzi/tlp-deprecation-note
...
nixos/tlp: Fix deprecation hint
2020-11-01 11:46:11 +01:00
rnhmjoj
497b7018e4
nixos/bluetooth: disable restart on unit changes
2020-10-31 21:46:42 +01:00
Alvar Penning
0ad1519ad9
nixos/tlp: Fix deprecation hint
...
The deprecated extraConfig option refers to the config option, which
does not exists. The settings option should be used.
2020-10-31 16:33:45 +01:00
lf-
b37bbca521
nixos/modules: fix systemd start rate-limits
...
These were broken since 2016:
f0367da7d1
since StartLimitIntervalSec got moved into [Unit] from [Service].
StartLimitBurst has also been moved accordingly, so let's fix that one
too.
NixOS systems have been producing logs such as:
/nix/store/wf98r55aszi1bkmln1lvdbp7znsfr70i-unit-caddy.service/caddy.service:31:
Unknown key name 'StartLimitIntervalSec' in section 'Service', ignoring.
I have also removed some unnecessary duplication in units disabling
rate limiting since setting either interval or burst to zero disables it
(ad16158c10/src/basic/ratelimit.c (L16)
)
2020-10-31 01:35:56 -07:00
Timo Kaufmann
83f48e8348
Merge pull request #95011 from Atemu/undervolt-pl
...
undervolt: expose power limits as Nixopts
2020-10-30 09:32:50 +01:00
Tad Fisher
e07f4d6795
nixos/throttled: disable kernel msr warning
2020-10-29 15:04:18 -07:00
Rouven Czerwinski
0aaa5addfb
nixos/thermald: add adaptive mode
...
thermald >=2.3 supports the adaptive DPTF mode, in conjunction with
kernel 5.8.
2020-09-16 18:27:16 +02:00
WORLDofPEACE
18348c7829
Merge pull request #96042 from rnhmjoj/loaOf
...
treewide: completely remove types.loaOf
2020-09-02 08:45:37 -04:00
rnhmjoj
20d491a317
treewide: completely remove types.loaOf
2020-09-02 00:42:50 +02:00
Lassulus
e453860b8f
Merge pull request #86236 from ThibautMarty/fix-nullOr-types
...
treewide: fix modules options types where the default is null
2020-08-26 18:21:29 +02:00
Atemu
eb4e67505f
undervolt: expose power limits as Nixopts
...
We no longer escape the flags because the power limit flags want two arguments
If we escaped them, we'd only get one argument with an escaped space in it.
Undervolt's flags don't have anything in them that would need to be escaped, so
that shouldn't break anything
2020-08-22 12:27:13 +02:00
Atemu
ed83bac1d9
undervolt: make timer opt-in
...
It should no longer be needed but is worth keeping around in case it is
2020-08-22 10:42:20 +02:00
Atemu
e6f0a1e7eb
undervolt: apply undervolt on boot and resume
...
The undervolt did not persist reboots or sleep/hibernation. With this
change you should no longer have to apply the undervolt on a timer
2020-08-22 10:42:19 +02:00
Jörg Thalheim
ba930d8679
nixos/modules: remove trailing whitespace
...
This leads to ci failure otherwise if the file gets changed.
git-blame can ignore whitespace changes.
2020-08-07 14:45:39 +01:00
Jörg Thalheim
4d0077addd
tlp: use structured config to fix cpu governor
...
Previously this module just disabled them.
Now tlp merges system defaults in
2020-07-28 09:41:18 +01:00
Atemu
2c7402b54d
undervolt: clarify that the service is unofficial
...
The original warning almost made it sound like the service was made by or
somehow connected to Intel which is not the case
2020-06-27 14:21:58 +02:00
Lassulus
7dcb8dc239
Merge pull request #90144 from pbogdan/undervolt
...
nixos/undervolt: misc cleanups / fixes
2020-06-18 11:52:09 +02:00
Jan Tojnar
7c20a53506
Merge pull request #90539 from r-ryantm/auto-update/fwupd
2020-06-16 16:43:33 +02:00
Jan Tojnar
0f0bcec11c
fwupd: Add passthru consistency test
...
We need to keep the passthru.filesInstalledToEtc and passthru.defaultBlacklistedPlugins in sync with the package contents so let's add a test to enforce that.
2020-06-16 11:20:55 +02:00
Florian Klink
89c3e73dad
hardware/u2f: remove module
...
udev gained native support to handle FIDO security tokens, so we don't
need a module which only added the now obsolete udev rules.
Fixes: https://github.com/NixOS/nixpkgs/issues/76482
2020-06-14 15:13:31 +02:00
Piotr Bogdan
afae933693
nixos/undervolt: simplify CLI args generation
2020-06-11 15:24:28 +01:00
Piotr Bogdan
24e0e05654
nixos/undervolt: use int
type for numeric options
2020-06-11 15:24:28 +01:00
Piotr Bogdan
f224b243db
nixos/undervolt: fix up options' descriptions
...
The default `undervolt` package does not accept floating point numbers for any of its numeric
arguments. This also mentions in what units are the values expressed.
2020-06-11 15:24:28 +01:00
Piotr Bogdan
6fb11e5227
nixos/undervolt: add a warning for the enable
option
...
Also use the convenience `mkEnableOption` function for simplicity.
2020-06-11 15:24:28 +01:00
Florian Klink
d64d42e023
nixos/udev: support /run/current-system/systemd in udevRules
...
https://github.com/NixOS/nixpkgs/pull/88492 flipped some references to
systemctl from config.systemd.package to /run/current-system/systemd/,
which udevRules obviously isn't able resolve.
If we encounter such references, replace them with
config.systemd.package before doing the check.
2020-05-22 14:43:58 +02:00
Thibaut Marty
4a0beed5c0
treewide: fix modules options types where the default is null
...
They can be caught with `nixos-option -r` on an empty ({...}:{}) NixOS
configuration.
2020-04-28 19:13:59 +02:00
Dominik Xaver Hörl
0412bde942
treewide: add bool type to enable options, or make use of mkEnableOption
...
Add missing type information to manually specified enable options or replace them by mkEnableOption where appropriate.
2020-04-21 08:55:36 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs
2020-04-10 17:54:53 +01:00
Jan Solanti
081ed8f012
xow: 0.2 -> 0.4
2020-03-31 17:24:37 +03:00
Philipp Middendorf
35035a543c
xow: init at 0.2
2020-03-30 00:16:21 +03:00
Bernardo Meurer
ee7becd918
nixos/tlp: revamp
2020-02-27 09:58:51 -08:00
Jan Tojnar
07281f23b6
Merge pull request #79371 from jtojnar/hughsie-pkgs
...
fwupd: split daemon again
2020-02-07 00:35:27 +01:00
Jan Tojnar
e5f7dacc93
nixos/fwupd: disable test plugins implicitly
...
invalid test was introduced in 297d1598ef
and it is disabled in the shipped daemon.conf.
I forgot to reflect that in the module, which caused the daemon to print the following on start-up:
FuEngine invalid has incorrect built version invalid
and the command to warn:
WARNING: The daemon has loaded 3rd party code and is no longer supported by the upstream developers!
To reduce the change of this happening in the future, I moved the list of default disabled plug-ins to the package expression.
I also set the value of the NixOS module option in the config section of the module instead of the default value used previously,
which will allow users to not care about these plug-ins.
2020-02-06 22:32:13 +01:00
Jörg Thalheim
c24a2d3e32
nixos/irqbalance: re-add multi-user.target
...
otherwise the service is never started by us.
2020-02-04 14:20:12 +00:00
snicket2100
04bfeeac79
irqbalance: using systemd service definition from the package itself
2020-02-02 18:09:45 +01:00
snicket2100
a5ab947003
irqbalance: systemd service config aligned with upstream
...
Aligned systemd service config with the definition in the upstream repo:
https://github.com/Irqbalance/irqbalance/blob/master/misc/irqbalance.service#L7 .
Other than adding some level of sandboxing it also fixes the "Daemon
couldn't be bound to the file-based socket." warning reported on
irqbalance startup due to the fact that the "/run/irqbalance" directory
didn't exist. The "RuntimeDirectory" property makes sure it gets
created. The aforementioned warning didn't cause any problems I could
spot though.
I have verified that both `irqbalance` as well as `irqbalance-ui` work
fine with this new systemd service config.
2020-01-25 00:28:25 +01:00
Silvan Mosberger
d6ad9ce105
nixos/usbmuxd: Fix users.groups assignment
...
A mistake was introduced in https://github.com/NixOS/nixpkgs/pull/63103
2020-01-12 16:53:27 +01:00
snicket2100
1657acd5d4
actkbd: fixed the description of the services.actkbd.bindings
option
...
The description referred to `<option>sound.enableMediaKeys</option>`,
which is actually called `<option>sound.mediaKeys.enable</option>`.
2020-01-11 13:07:19 -08:00
rnhmjoj
1d61efb7f1
treewide: use attrs instead of list for types.loaOf options
2020-01-06 10:39:18 -05:00
Tom Hall
08d31b74ec
udev: fix option description
...
The two file paths were changed from 10-local to 99-local, but only one
of the descriptions was changed.
2019-12-25 20:51:01 +00:00
worldofpeace
b12aef05a4
Merge pull request #73968 from mat8913/upower-config-master
...
nixos/upower: Allow customization of UPower.conf
2019-12-05 05:25:00 +00:00
Matthew Harm Bekkema
f83a83f964
upower: load config from /etc
...
In the process of making UPower.conf customizable (#73968 ), it came up
that UPower doesn't load its config from /etc by default.
The UPower derivation is modified to make it load its config from /etc
at runtime, but still install the default config to its nix store path
as before.
The UPower module is modified to put the config in /etc.
2019-12-04 12:26:30 +11:00
Matthew Harm Bekkema
aecfea098e
nixos/upower: Allow customization of UPower.conf
...
Documentation of options and default values taken from the upstream
UPower.conf. The documentation was modified slightly to make more sense
when displayed on https://nixos.org/nixos/options.html .
A copy of upstream UPower.conf can be found here:
https://cgit.freedesktop.org/upower/tree/etc/UPower.conf?id=28bd86c181e2510ef6a1dc7cfa26f97803698a79
2019-12-04 12:26:30 +11:00
rnhmjoj
1598f3d257
nixos/bluetooth: don't install obex tools by default
2019-11-29 21:08:58 +01:00
Oleksii Filonenko
95fc2d3fe1
hardware/bluetooth: add support for INI generator
...
- Add services.hardware.bluetooth.config option
- Use lib.generators.toINI with both config and extraConfig options
hardware/bluetooth: a couple suggestions
Co-authored-by: Aaron Andersen <aaron@fosslib.net>
2019-11-22 17:11:44 +02:00
Jan Tojnar
91b02cd86b
fwupd: 1.2.10 → 1.3.3 ( #73700 )
...
fwupd: 1.2.10 → 1.3.3
2019-11-20 02:02:24 +01:00
Chuck
e7b4df9617
nixos/tlp: Say what TLP is
2019-11-19 07:13:19 +01:00
Jan Tojnar
5b8998fdc4
fwupd: 1.2.10 → 1.3.3
...
https://github.com/fwupd/fwupd/blob/1.3.3/data/org.freedesktop.fwupd.metainfo.xml#L35-L125
systemd.tmpfiles should not be necessary, as the systemd service switched to StateDirectory.
2019-11-18 19:55:39 +01:00
Silvan Mosberger
dd0a47e7ae
treewide: Switch to system users ( #71055 )
...
treewide: Switch to system users
2019-11-01 13:26:43 +01:00
Marek Mahut
392b12f252
Merge pull request #72089 from prusnak/trezor-udev-rules
...
trezor-udev-rules: init at unstable-2019-07-17
2019-10-31 10:48:48 +01:00
Pavol Rusnak
d124858efe
trezor-udev-rules: init at unstable-2019-07-17
2019-10-30 15:15:22 +01:00
Evils-Devils
5a78ce30d4
Fancontrol: add test etc from #70933 ( #72065 )
...
* lm_sensors: add fancontrol module + nixos test
fancontrol is a small script that checks temperature sensors and adapts
fan speeds accordingly. It reads a text config file that can be
auto-generated by running the pwmconfig wizard on the live system.
2019-10-29 15:06:32 +01:00
Florian Klink
36756e930f
udisks2: use tmpfiles instead of activation script to create /var/lib/udisks2
2019-10-16 20:31:33 -04:00
Janne Heß
d6c08776ba
treewide: Switch to system users
2019-10-12 22:25:28 +02:00
Evils-Devils
6765f049f2
Update nixos/modules/services/hardware/fancontrol.nix
...
Co-Authored-By: markuskowa <markus.kowalewski@gmail.com>
2019-09-25 17:31:20 +02:00
Evils-Devils
44e2ff26b8
Update nixos/modules/services/hardware/fancontrol.nix
...
Co-Authored-By: markuskowa <markus.kowalewski@gmail.com>
2019-09-25 17:24:49 +02:00
Evils
401b0b0c7b
fancontrol: load config from configuration.nix
2019-09-25 17:05:09 +02:00
Evils-Devils
5fe72ee446
Update nixos/modules/services/hardware/fancontrol.nix
...
Co-Authored-By: markuskowa <markus.kowalewski@gmail.com>
2019-09-25 14:49:28 +02:00
Evils
baa642e8b3
fancontrol: more cleanup
2019-09-25 14:42:22 +02:00
Evils
30f8bc974c
update cfg to match section change
2019-09-25 13:43:06 +02:00
Evils-Devils
6c19673fef
Update nixos/modules/services/hardware/fancontrol.nix
...
Co-Authored-By: markuskowa <markus.kowalewski@gmail.com>
2019-09-25 13:28:16 +02:00
Evils
81b6dec3c8
fancontrol service init
2019-09-25 05:05:32 +02:00
Eelco Dolstra
b0ccd6dd16
Revert "nixos/doc: re-format"
...
This reverts commit ea6e8775bd
. The new
format is not an improvement.
2019-09-19 19:17:30 +02:00
Jan Tojnar
ea6e8775bd
nixos/doc: re-format
2019-09-18 22:13:35 +02:00
worldofpeace
362c2f67f9
Merge pull request #68037 from dtzWill/update/upower-0.99.11
...
upower: 0.99.10 -> 0.99.11
2019-09-08 08:14:35 -04:00
worldofpeace
16083defb5
nixos/upower: drop resumeCommands hack
...
Introduced 7 years ago, it's likely the issue has
been fixed. Even possible this could cause issues
with recent upower.
2019-09-08 07:02:58 -04:00
worldofpeace
92740dd4a8
nixos/upower: drop custom unit
...
All of these changes ++ are in the upstream unit
Also drop glib in path of unit as I don't believe
this should be needed anymore.
2019-09-08 07:02:58 -04:00
worldofpeace
ab48ede4c3
nixos/upower: don't use activation script to create statedir
...
Systemd now handles this completely.
2019-09-08 07:02:57 -04:00
Vladimír Čunát
f21211ebfe
Merge branch 'master' into staging
2019-09-02 23:25:24 +02:00
Florian Klink
f74735c9d7
nixos: remove dependencies on local-fs.target
...
Since https://github.com/NixOS/nixpkgs/pull/61321 , local-fs.target is
part of sysinit.target again, meaning units without
DefaultDependencies=no will automatically depend on it, and the manual
set dependencies can be dropped.
2019-09-01 19:06:38 +02:00
Silvan Mosberger
478e7184f8
nixos/modules: Remove all usages of types.string
...
And replace them with a more appropriate type
Also fix up some minor module problems along the way
2019-08-31 18:19:00 +02:00
Frederik Rietdijk
ad1d58c622
Merge staging-next into staging
2019-08-31 10:04:20 +02:00
Martin Weinelt
af1c07b679
nixos/fwupd: add package option
2019-08-29 20:45:22 +02:00
volth
08f68313a4
treewide: remove redundant rec
2019-08-28 11:07:32 +00:00
Frederik Rietdijk
5061fe0c2c
Merge staging-next into staging
2019-08-28 08:26:42 +02:00
volth
35d68ef143
treewide: remove redundant quotes
2019-08-26 21:40:19 +00:00
Marek Mahut
f4ca6e3dd1
Merge pull request #66722 from mmahut/trezord-emulator
...
trezord: adding emulator support (plus test)
2019-08-22 23:25:18 +02:00
Jan Hrnko
8033c66389
trezord: add docs
2019-08-20 21:09:32 +02:00
Marek Mahut
5712bea91b
trezord: adding emultor support
2019-08-16 16:58:48 +02:00
Periklis Tsirakidis
95dec03601
[throttled] Enable custom config
2019-08-09 09:22:38 +02:00
worldofpeace
cab7c6cbd9
treewide: use dontConfigure
2019-07-01 04:23:51 -04:00
Daniel Frank
b40a38fe8a
udev: be more verbose about the error
2019-06-21 18:05:14 +02:00
Daniel Frank
f8cf9de7ce
udev: change error message if RUN entry is not executable
2019-06-21 11:27:56 +02:00
volth
f3282c8d1e
treewide: remove unused variables ( #63177 )
...
* treewide: remove unused variables
* making ofborg happy
2019-06-16 19:59:05 +00:00
Frederik Rietdijk
7184efb40a
Merge master into staging-next
2019-06-12 09:22:07 +02:00
Michael Peyton Jones
efbd890f99
nixos: add throttled service
2019-06-04 22:30:38 +01:00
Andreas Rammhold
1f03f6fc43
nixos/udev: switch networking.usePredicatableInterfaceNames
to a kernel param
...
The udev rules we are shipping no longer work with systemd v242 and were
remove upstream some time ago. It seems like the entire renaming is now
done in C and not in the udev rules.
2019-06-03 15:05:12 +02:00
Aaron Andersen
4a11ce7f26
cleanup redundant text in modules utilizing mkEnableOption
...
Closes #59911
2019-04-20 14:44:02 +02:00
Ryan Mulligan
0960fc72b7
Merge pull request #49868 from jfrankenau/fix-triggerhappy
...
nixos/triggerhappy: add option user
2019-04-10 20:56:19 -07:00
Dan Callahan
c80385d934
dsseries: init at 1.0.5-1
2019-03-08 15:02:22 +00:00
Domen Kožar
f60459a023
Merge pull request #55142 from FlorianFranzen/thinkfan_smart
...
thinkfan: add option for libatasmart support
2019-03-05 17:47:13 +07:00
Symphorien Gibol
a915b33315
nixos: add preferLocalBuild=true; on derivations for config files
2019-02-22 20:11:27 +01:00
Dan Callahan
139e12323f
nixos/bolt: init at 0.7
2019-02-19 20:54:38 +00:00
Florian Franzen
1278615a48
thinkfan: add option for libatasmart support
2019-02-03 22:34:41 +01:00
Jan Tojnar
dd06999e32
fwupd: fix installed tests
2019-01-28 00:15:00 +01:00
Will Dietz
55fa570046
fwupd: blacklist test plugin by default
...
Don't add the testing "webcam" device,
which is unexpected to see when querying
what devices fwupd believes exist :).
Won't change behavior for anyone defining
the blacklistPlugin option already,
but doesn't seem worth making more complicated.
2019-01-27 21:26:42 +01:00
Jörg Thalheim
09fb07e4af
Merge pull request #52943 from ck3d/vdr-enableLirc
...
nixos vdr: introduce option enableLirc
2019-01-05 17:51:41 +01:00
Jörg Thalheim
9b2f0fbcdd
nixos/lirc: expose socket path via passthru
2019-01-05 13:22:39 +01:00