Find a file
Adam Stephens 2ff2c3fbcf
chore: 6.8.0-rc3 -> 6.8.0-rc4
Changes include
- fix PCIe link errors when starting Wi-Fi link
- switch to using GIC ITS for PCIe MSIs
- disable ASPM L0s for X13s Wi-Fi
- disable ASPM L0s for CRD NVMe
- add missing PCIe minimum OPP
2024-02-13 09:08:10 -05:00
.forgejo/workflows fix cache hydration 2024-02-09 15:16:20 -05:00
npins chore: 6.8.0-rc3 -> 6.8.0-rc4 2024-02-13 09:08:10 -05:00
packages chore: 6.8.0-rc3 -> 6.8.0-rc4 2024-02-13 09:08:10 -05:00
.envrc init: x13s module and packages 2024-01-22 12:47:25 -05:00
.gitignore init: x13s module and packages 2024-01-22 12:47:25 -05:00
flake.lock flake.lock: Update 2024-02-13 09:01:30 -05:00
flake.nix init: x13s module and packages 2024-01-22 12:47:25 -05:00
module.nix fix: bump ath11k firmware due to potential suspend issues 2024-02-05 09:15:15 -05:00
README.md document binary cache and build other packages 2024-02-09 11:27:20 -05:00

nixos x13s

This repository aims to provide easy, shared, support for Lenovo X13s on Linux.

The support for this machine is constantly improving in mainline kernel and upstream packages. Eventually the goal is that this repository is no longer necessary.

Binary cache

A binary cache is provided through Cachix so you can avoid re-building the kernel.

https://app.cachix.org/cache/nixos-x13s

Ensure you are not overriding the nixpkgs input when consuming this flake, or you may not be able to take advantags of this cache.

Add with a flake

{
  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
    nixos-x13s.url = "git+https://codeberg.org/adamcstephens/nixos-x13s";
  };

  outputs =
    { ... }@inputs:
    {
      nixosConfigurations.example = inputs.nixpkgs.lib.nixosSystem {
        system = "aarch64-linux";
        modules = [
          inputs.nixos-x13s.nixosModules.default
          {
            nixos-x13s.enable = true;

            # allow unfree firmware
            nixpkgs.config.allowUnfree = true;

            # define your fileSystems
            fileSystems."/".device = "/dev/notreal";
          }
        ];
      };
    };
}

Add using not a flake

Not documented, but feel free to submit a PR.