Commit Graph

5 Commits

Author SHA1 Message Date
Jörg Thalheim 03c6d15152 treewide: apply deadnix and statix 2022-12-31 11:57:44 +01:00
Bryan Gardiner fdc0812787
system76: Remove kernel param ec_sys.write_support=1.
I don't think we need this in the generic configuration.  There is a call to
`modprobe ec_sys.write_support=1` in system76-driver, only for the airplane mode
daemon (which only applies to certain models, not including darp6), and the
driver executes the modprobe call anyhow.

Also the kernel's documentation for the parameter says:

    write_support:Dangerous, reboot and removal of battery may be needed. (bool)

So let's only enable this where it's required.
2020-10-12 18:06:11 -07:00
Bryan Gardiner d86324ba69
system76: Update configs to use the module from Nixpkgs. 2020-10-12 18:06:03 -07:00
Bryan Gardiner 602f9d86c6
Add options for applying the darp6 headset fixup. 2020-09-12 22:33:04 -07:00
Bryan Gardiner 0c5f176147
Add support for System76 hardware, specifically the Darter Pro 6.
This relies on new `system76`, `system76-acpi`, and `system76-io`
packages in `linuxPackages` in Nixpkgs.
2020-09-03 19:03:10 -07:00