initial commit

This commit is contained in:
Henri Dohmen 2025-03-01 18:19:19 +01:00
commit c4dc2e0f36
25 changed files with 558 additions and 0 deletions

27
flake.nix Normal file
View file

@ -0,0 +1,27 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs } @ inputs:
let lib = nixpkgs.lib; in
let mod = import ./mod { inherit lib; }; in
let specialArgs = { inherit inputs mod; }; in
{
nixosConfigurations = {
"solo" = nixpkgs.lib.nixosSystem
{
system = "x86_64-linux";
inherit specialArgs;
modules = [ ./host/solo ];
};
"c2" = nixpkgs.lib.nixosSystem
{
system = "x86_64-linux";
inherit specialArgs;
modules = [ ./host/c2 ];
};
};
};
}