2022-07-07 11:15:52 +02:00
|
|
|
{
|
2022-07-07 19:46:59 +02:00
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
};
|
|
|
|
outputs = { nixpkgs, ... }: {
|
|
|
|
colmena = {
|
|
|
|
meta = {
|
|
|
|
nixpkgs = import nixpkgs {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
overlays = [ (final: prev: import ./packages final prev) ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
defaults = { config, lib, name, ... }: {
|
|
|
|
imports = [
|
|
|
|
(./. + "/hosts/${name}/configuration.nix")
|
|
|
|
./modules
|
|
|
|
./common
|
|
|
|
];
|
2022-07-07 11:15:52 +02:00
|
|
|
|
2022-07-07 19:46:59 +02:00
|
|
|
deployment.targetUser = null;
|
|
|
|
};
|
|
|
|
|
2022-07-07 20:07:53 +02:00
|
|
|
nixdeploy = {...}: {
|
|
|
|
deployment.targetHost = "nixdeploy.bula22.de";
|
|
|
|
deployment.allowLocalDeployment = true;
|
|
|
|
};
|
|
|
|
|
2022-07-07 19:46:59 +02:00
|
|
|
pre-router = { config, pkgs, ... }: {
|
|
|
|
deployment.targetHost = "lightbuffet.entr0py.cloud";
|
|
|
|
deployment.keys = {
|
2022-07-07 11:15:52 +02:00
|
|
|
|
|
|
|
};
|
2022-07-07 19:46:59 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
pre-yate-n0emis = { config, pkgs, ... }: {
|
2022-07-07 20:07:53 +02:00
|
|
|
deployment.targetHost = "2001:470:7694::5e5";
|
2022-07-07 19:46:59 +02:00
|
|
|
};
|
2022-07-07 11:15:52 +02:00
|
|
|
};
|
2022-07-07 19:46:59 +02:00
|
|
|
};
|
|
|
|
}
|