Hardware/Microsoft/Surface Go 2: Difference between revisions

From NixOS Wiki
Onny (talk | contribs)
Add setup instructions
Onny (talk | contribs)
Add photo of device
Line 5: Line 5:
!colspan="2" class="title"|Microsoft Surface Go 2
!colspan="2" class="title"|Microsoft Surface Go 2
|-
|-
|colspan="2"|[[File:Pinebook-a64-11-glamour.jpg|frameless|256px|A Pinebook 11".]]
|colspan="2"|[[File:Microsoft surface go 2.jpg|frameless|256x256px|A Pinebook 11".]]
|-
|-
!Manufacturer
!Manufacturer

Revision as of 14:27, 15 May 2024

Microsoft Surface Go 2
A Pinebook 11".
Manufacturer Microsoft
Architecture x86_64
Bootloader 34-bit GRUB
Maintainer onny

The Surface Go 2 is a portable 2-in-1 detachable tablet computer by Microsoft, featuring a 10.5-inch PixelSense Display, Intel® Pentium® Gold or Pentium® M processors, and optional LTE connectivity.

Setup

Support for webcam and LTE modem requires a custom kernel from the linux-surface project. Adapt the flake.nix of your system configuration to include the nixos-hardware repository and the specific module for your device: nixos-hardware.nixosModules.microsoft-surface-go.

{
  description = "NixOS configuration with flakes";
  inputs.nixos-hardware.url = "github:NixOS/nixos-hardware/master";

  outputs = { self, nixpkgs, nixos-hardware }: {
    # replace <your-hostname> with your actual hostname
    nixosConfigurations.<your-hostname> = nixpkgs.lib.nixosSystem {
      # ...
      modules = [
        # ...
        nixos-hardware.nixosModules.microsoft-surface-go
      ];
    };
  };
}