52 lines
1.2 KiB
Nix
52 lines
1.2 KiB
Nix
{
|
|
description = "kempingers general 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,
|
|
}@inputs:
|
|
{
|
|
nixosConfigurations = {
|
|
kemptop = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
lanzaboote.nixosModules.lanzaboote
|
|
./kemptop/configuration.nix
|
|
nixos-hardware.nixosModules.lenovo-thinkpad-p14s-amd-gen5
|
|
];
|
|
specialArgs = { inherit inputs; };
|
|
};
|
|
heimserver = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./heimserver/configuration.nix
|
|
];
|
|
specialArgs = { inherit inputs; };
|
|
};
|
|
};
|
|
};
|
|
}
|