forked from Fediversity/Fediversity
66 lines
1.9 KiB
Nix
66 lines
1.9 KiB
Nix
{ inputs, ... }:
|
|
|
|
{
|
|
nixops4Deployments.git =
|
|
{ providers, ... }:
|
|
{
|
|
providers.local = inputs.nixops4-nixos.modules.nixops4Provider.local;
|
|
|
|
resources = {
|
|
vm02116 = {
|
|
type = providers.local.exec;
|
|
imports = [ inputs.nixops4-nixos.modules.nixops4Resource.nixos ];
|
|
ssh = {
|
|
host = "185.206.232.34";
|
|
opts = "";
|
|
hostPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILriawl1za2jbxzelkL5v8KPmcvuj7xVBgwFxuM/zhYr";
|
|
};
|
|
nixpkgs = inputs.nixpkgs;
|
|
nixos.module = {
|
|
imports = [
|
|
./vm02116/configuration.nix
|
|
./vm02116/forgejo.nix
|
|
./vm02116/hardware-configuration.nix
|
|
];
|
|
};
|
|
};
|
|
|
|
vm02179 = {
|
|
type = providers.local.exec;
|
|
imports = [ inputs.nixops4-nixos.modules.nixops4Resource.nixos ];
|
|
ssh = {
|
|
host = "185.206.232.179";
|
|
opts = "";
|
|
hostPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPAsOCOsJ0vNL9fGj0XC25ir8B+k2NlVJzsiVUx+0eWM";
|
|
};
|
|
nixpkgs = inputs.nixpkgs;
|
|
nixos.module = {
|
|
imports = [
|
|
./vm02179/configuration.nix
|
|
./vm02179/hardware-configuration.nix
|
|
./vm02179/gitea-runner.nix
|
|
];
|
|
};
|
|
};
|
|
|
|
vm02186 = {
|
|
type = providers.local.exec;
|
|
imports = [ inputs.nixops4-nixos.modules.nixops4Resource.nixos ];
|
|
ssh = {
|
|
host = "185.206.232.186";
|
|
opts = "";
|
|
hostPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII6mnBgEeyYE4tzHeFNHVNBV6KR+hAqh3PYSqlh0QViW";
|
|
};
|
|
nixpkgs = inputs.nixpkgs;
|
|
nixos.module = {
|
|
imports = [
|
|
./vm02186/procolix-configuration.nix
|
|
./vm02186/hardware-configuration.nix
|
|
./vm02186/gitea-runner.nix
|
|
];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|