Find a file
Adam Stephens 21841f64b1
flake.lock: Update
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/07f6395285469419cf9d078f59b5b49993198c00' (2024-01-11)
  → 'github:hercules-ci/flake-parts/b253292d9c0a5ead9bc98c4e9a26c6312e27d69f' (2024-02-01)
• Updated input 'flake-parts/nixpkgs-lib':
    'github:NixOS/nixpkgs/b0d36bd0a420ecee3bc916c91886caca87c894e9?dir=lib' (2023-12-30)
  → 'github:NixOS/nixpkgs/97b17f32362e475016f942bbdfda4a4a72a8a652?dir=lib' (2024-01-29)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/612f97239e2cc474c13c9dafa0df378058c5ad8d' (2024-01-21)
  → 'github:NixOS/nixpkgs/e92b6015881907e698782c77641aa49298330223' (2024-02-02)
2024-02-05 08:34:56 -05:00
npins chore: 6.8.0-rc1 -> 6.8.0-rc2 2024-01-29 10:37:25 -05:00
packages chore: 6.8.0-rc1 -> 6.8.0-rc2 2024-01-29 10:37:25 -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-05 08:34:56 -05:00
flake.nix init: x13s module and packages 2024-01-22 12:47:25 -05:00
module.nix cleanup: overlay zfs and modules closure for more compatibility 2024-01-24 21:17:14 -05:00
README.md add: readme 2024-01-22 12:50:11 -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.

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.