chore: initialized project

This commit is contained in:
Luna Simons 2026-02-27 17:03:35 +01:00
commit d79fe97b7e
No known key found for this signature in database
GPG key ID: FAB9C1BCA0FED262
24 changed files with 786 additions and 0 deletions

34
systems/flake-module.nix Normal file
View file

@ -0,0 +1,34 @@
{ self, inputs, ... }:
let
makeHost =
class:
{ name, ... }:
{
imports = [
./${name}/default.nix
./${name}/hardware.nix
./${name}/disko.nix
];
deployment = {
targetHost = name;
targetUser = null;
};
networking.hostName = name;
};
in
{
flake = {
colmenaHive = inputs.colmena.lib.makeHive {
meta = {
nixpkgs = import inputs.nixpkgs-stable { system = "x86_64-linux"; };
specialArgs = { inherit self inputs; };
};
rena = makeHost "nixos";
};
nixosConfigurations = self.colmenaHive.nodes;
};
}