No description
Find a file
2024-10-14 15:02:22 +02:00
.woodpecker fix: wrap build in tini 2024-06-08 11:41:56 -04:00
packages fix(kernel): compress kernel modules (different config method) 2024-10-11 22:54:04 +02:00
.envrc init: x13s module and packages 2024-01-22 12:47:25 -05:00
.gitignore - adding an iso package to the flake 2024-05-12 23:24:31 -04:00
flake.lock Reapply "feat(linux_jhovold): bump to 6.12.0-rc2" 2024-10-11 22:34:41 +02:00
flake.nix refactor: remove multi-kernel support, clarify maintnenance 2024-10-14 15:02:22 +02:00
justfile forgejo -> woodpecker 2024-05-14 16:23:18 -04:00
module.nix refactor: remove multi-kernel support, clarify maintnenance 2024-10-14 15:02:22 +02:00
README.md refactor: remove multi-kernel support, clarify maintnenance 2024-10-14 15:02:22 +02:00

nixos x13s

Caution

This project is partially maintained. It receives kernel updates, until mainline will provide a fully functional experience.

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.

Add with a flake

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

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

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

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

UEFI Update ISO

This repository provides a package which can output the USB UEFI Update ISO. This will be updated as Lenovo releases new versions.

nix build .#uefi-usbiso

dd if=result/usbdisk-*.iso of=/path/to/usb/disk

Reboot, select USB drive from F12 boot menu, follow wizard.