mirror of
https://codeberg.org/mart-w/nixos-x13s.git
synced 2024-11-21 14:54:49 +01:00
f48f5123e0
Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/e92b6015881907e698782c77641aa49298330223' (2024-02-02) → 'github:NixOS/nixpkgs/f8e2ebd66d097614d51a56a755450d4ae1632df1' (2024-02-07) |
||
---|---|---|
.forgejo/workflows | ||
npins | ||
packages | ||
.envrc | ||
.gitignore | ||
flake.lock | ||
flake.nix | ||
module.nix | ||
README.md |
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.