Skip to content

Commit bfeb92f

Browse files
authored
Merge branch 'master' into master
2 parents 001df09 + 497ae13 commit bfeb92f

File tree

276 files changed

+3825
-2795
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

276 files changed

+3825
-2795
lines changed

.git-blame-ignore-revs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This file contains commits that should be ignored by git blame
2+
# See https://git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-file
3+
# and https://github.com/NixOS/nixpkgs/blob/master/.git-blame-ignore-revs for more info
4+
5+
# To enable this in your local repository, run:
6+
# git config blame.ignoreRevsFile .git-blame-ignore-revs
7+
8+
# For rebasing PRs, commits marked with !autorebase will be automatically
9+
# reapplied by the auto-rebase script
10+
11+
# nixfmt-rfc-style formatting
12+
51e51e601448705c0d2f92ef90ec7b680123077c #!autorebase cd tests && nix fmt ..

.github/workflows/test.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,18 @@ on:
44
push:
55
branches:
66
- master
7+
merge_group:
78
jobs:
9+
nixfmt:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: cachix/install-nix-action@v31
14+
- run: cd tests && nix fmt .. -- --fail-on-change
815
tests:
16+
needs: nixfmt
917
runs-on: ubuntu-latest
1018
steps:
1119
- uses: actions/checkout@v4
1220
- uses: cachix/install-nix-action@v31
13-
- run: nix run ./tests#run .
21+
- run: nix run ./tests#run .

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,17 @@ See [CONTRIBUTING.md](./CONTRIBUTING.md).
6969

7070
For questions and discussions, come join us in the [nixos-anywhere matrix](https://matrix.to/#/#nixos-hardware:nixos.org) room.
7171

72+
# Community Meetings
73+
74+
The [NixOS hardware](https://github.com/orgs/NixOS/teams/nixos-hardware) team meets regularly to discuss hardware profiles and maintenance:
75+
76+
- **When**: Every 3rd Friday of the month
77+
- **Time**: 04:00 pm (UTC) / 16:00 (UTC)
78+
- **Where**: https://jitsi.lassul.us/Hardware-team
79+
- **Contact**: hardware@nixos.org
80+
81+
All contributors and users are welcome to join!
82+
7283
## List of Profiles
7384

7485
See code for all available configurations.
@@ -396,6 +407,7 @@ See code for all available configurations.
396407
| [System76 Darter Pro 6](system76/darp6) | `<nixos-hardware/system76/darp6>` | `system76-darp6`|
397408
| [System76 Gazelle 18](system76/gaze18) | `<nixos-hardware/system76/gaze18>` | `system76-gaze18`|
398409
| [System76 Galago Pro 5](system76/galp5-1650) | `<nixos-hardware/system76/galp5-1650>` | `system76-galp5-1650`|
410+
| [System76 Thelio Mega](system76/thelio-mega) | `<nixos-hardware/system76/thelio-mega>` | `system76-thelio-mega`|
399411
| [Toshiba Chromebook 2 `swanky`](toshiba/swanky) | `<nixos-hardware/toshiba/swanky>` | `toshiba-swanky`|
400412
| [Tuxedo InfinityBook v4](tuxedo/infinitybook/v4) | `<nixos-hardware/tuxedo/infinitybook/v4>` | `tuxedo-infinitybook-v4`|
401413
| [TUXEDO Aura 15 - Gen1](tuxedo/aura/15/gen1) | `<nixos-hardware/tuxedo/aura/15/gen1>` | `tuxedo-aura-15-gen1`|

airis/n990/default.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
kernelParams = [
1010
"apm=on"
1111
"acpi=on"
12-
"vga=0x317" # 1024x768
12+
"vga=0x317" # 1024x768
1313
"console=tty1"
14-
"video=vesafb:ywrap" # Faster scroll
15-
];
14+
"video=vesafb:ywrap" # Faster scroll
15+
];
1616
};
1717

1818
hardware.firmware = with pkgs; [ intel2200BGFirmware ];

apple/default.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"hid_apple.iso_layout=0"
66
];
77

8-
hardware.facetimehd.enable = lib.mkDefault
9-
(config.nixpkgs.config.allowUnfree or false);
8+
hardware.facetimehd.enable = lib.mkDefault (config.nixpkgs.config.allowUnfree or false);
109

1110
services.mbpfan.enable = lib.mkDefault true;
1211
}

apple/imac/18-2/default.nix

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
lib,
44
pkgs,
55
...
6-
}: {
6+
}:
7+
{
78
imports = [
89
../.
910
../../../common/cpu/intel/kaby-lake
@@ -14,7 +15,12 @@
1415

1516
# apple smc (TODO: check spi)
1617
boot = {
17-
initrd.kernelModules = ["applespi" "spi_pxa2xx_platform" "intel_lpss_pci" "applesmc" ];
18+
initrd.kernelModules = [
19+
"applespi"
20+
"spi_pxa2xx_platform"
21+
"intel_lpss_pci"
22+
"applesmc"
23+
];
1824
kernelParams = [ "intel_iommu=on" ];
1925
kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.0") pkgs.linuxPackages_latest;
2026
};

apple/macbook-air/3/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{ config, lib, ... }:
22

33
{
4-
imports = [
4+
imports = [
55
../../.
66
../../../common/cpu/intel
77
../../../common/pc/laptop

apple/macbook-air/7/default.nix

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
{ config, lib, pkgs, ... }:
1+
{
2+
config,
3+
lib,
4+
pkgs,
5+
...
6+
}:
27

38
{
49
imports = [

apple/macbook-pro/11-5/default.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ in
1818
services.udev.extraRules =
1919
# Disable XHC1 wakeup signal to avoid resume getting triggered some time
2020
# after suspend. Reboot required for this to take effect.
21-
lib.optionalString
22-
(lib.versionAtLeast kernelPackages.kernel.version "3.13")
21+
lib.optionalString (lib.versionAtLeast kernelPackages.kernel.version "3.13")
2322
''SUBSYSTEM=="pci", KERNEL=="0000:00:14.0", ATTR{power/wakeup}="disabled"'';
2423
}

apple/macbook-pro/12-1/default.nix

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
{ lib, pkgs, modulesPath, ... }:
1+
{
2+
lib,
3+
pkgs,
4+
modulesPath,
5+
...
6+
}:
27

38
{
49
imports = [
@@ -19,7 +24,7 @@
1924
powerDownCommands = lib.mkBefore ''
2025
${pkgs.kmod}/bin/rmmod -f -v brcmfmac_wcc 2>/dev/null || true
2126
${pkgs.kmod}/bin/rmmod brcmfmac
22-
'';
27+
'';
2328
};
2429

2530
# USB subsystem wakes up MBP right after suspend unless we disable it.

0 commit comments

Comments
 (0)