initial laptop state after enabling aarch64 emulation

This commit is contained in:
Stefan Kempinger 2025-11-03 12:07:34 +01:00
commit e0ccfe0e5e
4 changed files with 500 additions and 0 deletions

38
flake.nix Normal file
View file

@ -0,0 +1,38 @@
{
description = "kemptop flake";
inputs = {
nixpkgs = {
url = "github:NixOS/nixpkgs/nixos-unstable";
};
nixos-hardware.url = "github:NixOS/nixos-hardware";
lanzaboote = {
url = "github:nix-community/lanzaboote";
inputs = {
nixpkgs.follows = "nixpkgs";
rust-overlay.follows = "rust-overlay";
};
};
rust-overlay = {
url = "github:oxalica/rust-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, nixos-hardware, lanzaboote,rust-overlay }: {
nixosConfigurations = {
kemptop = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
lanzaboote.nixosModules.lanzaboote
./configuration.nix
nixos-hardware.nixosModules.lenovo-thinkpad-p14s-amd-gen5
];
};
};
};
}