Commit graph

42 commits

Author SHA1 Message Date
Jörg Thalheim 03c6d15152 treewide: apply deadnix and statix 2022-12-31 11:57:44 +01:00
Zane van Iperen ba12233257
apple/macbook-pro/14-1: fix service script paths
Doesn't require Nix to keep around the entire nixos-hardware repo.
2022-10-22 17:37:58 +10:00
Zane van Iperen 99ed0bc663
apple/macbook-pro: add support for 14,1
Extracted from my system configs. There's still a few issues with this
machine:

1. Audio is a lost cause. Will probably need to bribe an Apple or Cirrus
   engineer for the datasheet.
2. The thunderbolt module will oops upon system resume, and subsequently
   refuse to work until next reboot.
3. The d3cold state needs to be disabled on the NVME controller for it
   to wake up.
4. The Bluetooth UART (/dev/ttyS0) is created and then deleted by udev
   in early boot. I am yet to figure out why. Hack around it by
   reloading the 8250_dw module, causing it to be re-created.
2022-10-21 00:29:37 +10:00
Rehno Lindeque 33642d338f apple/macbook-pro/11-5: add a note about switching between integrated and discrete graphics 2022-09-07 17:10:58 +00:00
Rehno Lindeque a4345da27e apple/macbook-pro/11-5: driver choice should be optional since si_support is experimental 2022-09-07 16:53:00 +00:00
Rehno Lindeque 821ddbaf1c apple/macbook-pro/11-5: make enableRedistributableFirmware an optional default (uniformity with other configs) 2022-09-07 15:41:28 +00:00
Rehno Lindeque 1d10001701 apple/macbook-pro/11-5: Links to hardware probes 2022-09-07 15:37:40 +00:00
Rehno Lindeque a930f43803 apple/macbook-pro/11-5: document amdgpu driver choice 2022-09-07 15:36:38 +00:00
Rehno Lindeque c38ec64187 apple/macbook-pro/11-5: Use the newer amdgpu driver 2022-09-07 15:32:33 +00:00
Rehno Lindeque a318b2ebfa apple/macbook-pro/11-5: explicitly turn on redistributable firmware 2022-09-06 18:49:29 +00:00
Jörg Thalheim d2d9a58a5c
remove systemd-boot from hardware profiles (#307)
- We should not enable canTouchEfiVariables by default as this
  wears out the EFI storage.
- We should not set systemd-boot as default. This is up to the user to
  decide. There are exceptions when hardware only supports specific
  bootloaders so.
2021-08-21 09:22:25 +01:00
Doro Rose 52060c81af apple/macbook-pro/12-1/default.nix: Fixed impure <nixpkgs> import. 2021-05-11 10:31:41 +02:00
Ivan Kovnatsky b371da6e8d
apple/macbook-pro/12-1: brcmfmac: mention resume issue 2020-12-01 14:42:01 +02:00
Ivan Kovnatsky 34c1bf11bb
apple/macbook-pro/12-1: PM: set cpuFreqGovernor and power Up/Down commands (#214)
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2020-12-01 08:57:29 +00:00
Ivan Kovnatsky 6a0f1a9e84
macbook: add README.md to describe switching Cmd and Alt/AltGr 2020-11-03 10:19:25 +02:00
sevenfourk d2ac7fb650
macbook: added option for swapped cmd and opt
https://wiki.archlinux.org/index.php/Apple_Keyboard#Switching_Cmd_and_Alt/AltGr
2020-10-31 12:06:55 +02:00
ilian adecd1113c apple: Add support for MacBook Air 3,X (#91) 2019-11-12 10:36:10 +00:00
Rehno Lindeque a9f65b8896 apple/macbook-pro/11-5: Remove boot loader
Since the boot loader is already automatically generated by
nixos-generate-config, there is no need to include it here.
2018-07-30 17:55:13 -04:00
Rehno Lindeque 694fd85397 apple/macbookpro/11-5: Prevent intermittent xhci wakeup after suspend 2018-07-30 17:55:13 -04:00
Rehno Lindeque e31b175128 apple/macbook-pro/11-5: Change README to markdown
.wiki is just plain distracting to edit, markdown allows me to quickly write
up accompanying docs.
2018-07-30 17:55:13 -04:00
Rehno Lindeque ec4c3da289 apple/macbook-pro/11-5: Additional wiki resources
As suggested by issue #41.
2018-07-30 17:55:13 -04:00
Rehno Lindeque 93d292b830 apple/macbook-pro/11-5: init 2018-07-30 17:55:13 -04:00
Yegor Timoshenko 8a352e39b5
apple/macbook-air/6: resolve tearing 2018-01-07 17:26:37 +00:00
Yegor Timoshenko b65efccd54
apple/macbook-air/6: add acpi_osi= kernel param 2017-12-27 22:09:57 +00:00
Yegor Timoshenko 19c0c04f61
apple/macbook-air/4: enable RC6p, RC6pp GPU sleep states 2017-12-27 21:39:31 +00:00
Yegor Timoshenko d1d99eb158
treewide: mark things that have to be done 2017-12-25 22:07:47 +00:00
Yegor Timoshenko 2227f2c67a
apple/macbook-air/4: resolve tearing 2017-12-25 04:55:29 +00:00
Yegor Timoshenko 88bd1266a7
apple/macbook-air/4: add 2017-12-25 04:32:30 +00:00
Yegor Timoshenko e228c7827b
apple: add hid_apple.iso_layout=0 kernel param
In my experience, this makes keyboard behavior match letters printed
on it both on EU and US keyboards.
2017-12-25 04:30:32 +00:00
Yegor Timoshenko 9b3e42be63
apple: wrap hardware.facetimehd option 2017-12-25 01:51:02 +00:00
Yegor Timoshenko 5a1a527f16
apple: enable facetimehd if allowUnfree = true 2017-12-25 01:28:02 +00:00
Yegor Timoshenko db483616db
apple/macbook-air/6: init 2017-12-25 01:27:28 +00:00
Yegor Timoshenko 5407ba7a52
treewide: abstract away common configs into common/ 2017-12-24 23:21:05 +00:00
Yegor Timoshenko f31e4afea5
apple/macbook-pro/10-1: elaborate more on NVidia driver 2017-12-24 14:19:38 +00:00
Yegor Timoshenko 63b3836fcf
apple: use global apple profile (for mbpfan) 2017-12-24 12:17:37 +00:00
Yegor Timoshenko cbe052c49e
apple/macbook-pro/12-1: clean up 2017-12-24 12:16:10 +00:00
Yegor Timoshenko a8b7b6ffe5
apple/macbook-pro/10-1: fix evaluation, drop old kernel notes 2017-12-24 12:13:25 +00:00
Yegor Timoshenko 9609c900f9
apple: add services.mbpfan.enable 2017-12-24 03:38:17 +00:00
Yegor Timoshenko 3c9f432a71 treewide: modules -> profiles, separate dirs, list in README (#29)
Enforce proper naming: all paths are lowercase and hyphen-separated,
if there's a line of models (aspire, macbook-pro, thinkpad) it becomes
a subdirectory. Documentation for profiles is moved to README files in
respective directories.

Add an Org mode table that lists all available profiles and their paths.

Instead of fetching repo locally, use a Nix channel. Making hardware
profiles read-only should improve quality and amount of participation
long-term.
2017-12-22 17:17:00 +00:00
Yegor Timoshenko d4688911b7 treewide: drop hardware-configuration.nix boilerplate (#28)
hardware-configuration.nix is still relied upon for hard drive
configuration, and it handles variations of hardware (custom
configurations, subrevisions).
2017-12-22 10:33:54 +00:00
Tom Hunger 7f194802c5 Add file for macbook pro 12,1 with suspend fix. 2017-09-24 15:19:52 +01:00
John Ericson e5cc44520f Apple MacBook Pro 10,1 2016-10-20 14:53:52 -04:00