1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-22 01:29:44 +01:00

dell/g3/3779: init

Add support for the Dell G3 3779.
This commit is contained in:
Alexandre Iooss 2020-12-01 15:19:15 +01:00
parent 6531786e2d
commit 060c89b69f
No known key found for this signature in database
GPG key ID: 6C79278F3FCDCC02
3 changed files with 27 additions and 0 deletions

View file

@ -76,6 +76,7 @@ See code for all available configurations.
| Apple MacBook Pro 12,1 | `<nixos-hardware/apple/macbook-pro/12-1>` | | Apple MacBook Pro 12,1 | `<nixos-hardware/apple/macbook-pro/12-1>` |
| Asus TUF FX504GD | `<nixos-hardware/asus/fx504gd>` | | Asus TUF FX504GD | `<nixos-hardware/asus/fx504gd>` |
| BeagleBoard PocketBeagle | `<nixos-hardware/beagleboard/pocketbeagle>` | | BeagleBoard PocketBeagle | `<nixos-hardware/beagleboard/pocketbeagle>` |
| [Dell G3 3779][] | `<nixos-hardware/dell/g3/3779>` |
| Dell Latitude 3480 | `<nixos-hardware/dell/latitude/3480>` | | Dell Latitude 3480 | `<nixos-hardware/dell/latitude/3480>` |
| Dell Precision 5530 | `<nixos-hardware/dell/precision/5530>` | | Dell Precision 5530 | `<nixos-hardware/dell/precision/5530>` |
| [Dell XPS E7240][] | `<nixos-hardware/dell/e7240>` | | [Dell XPS E7240][] | `<nixos-hardware/dell/e7240>` |
@ -139,6 +140,7 @@ See code for all available configurations.
[Acer Aspire 4810T]: acer/aspire/4810t [Acer Aspire 4810T]: acer/aspire/4810t
[Asus TUF FX504GD]: asus/fx504gd [Asus TUF FX504GD]: asus/fx504gd
[Apple MacBook Pro 10,1]: apple/macbook-pro/10-1 [Apple MacBook Pro 10,1]: apple/macbook-pro/10-1
[Dell G3 3779]: dell/g3/3779
[Dell XPS E7240]: dell/e7240 [Dell XPS E7240]: dell/e7240
[Dell XPS 13 7390]: dell/xps/13-7390 [Dell XPS 13 7390]: dell/xps/13-7390
[Dell XPS 13 9343]: dell/xps/13-9343 [Dell XPS 13 9343]: dell/xps/13-9343

24
dell/g3/3779/default.nix Normal file
View file

@ -0,0 +1,24 @@
{ lib, pkgs, ... }:
{
imports = [
../../../common/cpu/intel
../../../common/gpu/nvidia.nix
../../../common/pc/laptop
../../../common/pc/laptop/ssd
];
# Specify bus id of Nvidia and Intel graphics
hardware.nvidia.prime = {
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
};
# Cooling management
services.thermald.enable = lib.mkDefault true;
# Use same ACPI identifier as Dell Ubuntu
boot.kernelParams = [
"acpi_osi=Linux-Dell-Video"
];
}

View file

@ -11,6 +11,7 @@
apple-macbook-air-10-1 = import ./apple/macbook-pro/10-1; apple-macbook-air-10-1 = import ./apple/macbook-pro/10-1;
apple-macbook-air-12-1 = import ./apple/macbook-pro/12-1; apple-macbook-air-12-1 = import ./apple/macbook-pro/12-1;
beagleboard-pocketbeagle = import ./beagleboard/pocketbeagle; beagleboard-pocketbeagle = import ./beagleboard/pocketbeagle;
dell-g3-3779 = import ./dell/g3/3779;
dell-latitude-3480 = import ./dell/latitude/3480; dell-latitude-3480 = import ./dell/latitude/3480;
dell-precision-5530 = import ./dell/precision/5530; dell-precision-5530 = import ./dell/precision/5530;
dell-e7240 = import ./dell/e7240; dell-e7240 = import ./dell/e7240;