add all components for the heimserver

This commit is contained in:
Stefan Kempinger 2026-01-20 13:49:09 +01:00
parent c403ecbae0
commit f7be91ca0e
5 changed files with 533 additions and 83 deletions

View file

@ -1,5 +1,5 @@
{
description = "kemptop flake";
description = "kempingers general flake";
inputs = {
nixpkgs = {
@ -7,7 +7,7 @@
};
nixos-hardware.url = "github:NixOS/nixos-hardware";
lanzaboote = {
url = "github:nix-community/lanzaboote";
inputs = {
@ -18,21 +18,35 @@
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; };
};
};
};
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; };
};
};
};
}