Kemptop-NixOS-Config/flake.nix
2025-11-03 12:07:34 +01:00

38 lines
864 B
Nix

{
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
];
};
};
};
}