forked from Fediversity/Fediversity
118 lines
3.2 KiB
Nix
118 lines
3.2 KiB
Nix
{ self, 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 = self.keys.systems.vm02116;
|
|
};
|
|
nixpkgs = inputs.nixpkgs;
|
|
nixos.module = {
|
|
imports = [
|
|
./vm02116
|
|
self.nixosModules.ageSecrets
|
|
{ fediversity.hostPublicKey = self.keys.systems.vm02116; }
|
|
];
|
|
};
|
|
};
|
|
|
|
fedi300 = {
|
|
type = providers.local.exec;
|
|
imports = [ inputs.nixops4-nixos.modules.nixops4Resource.nixos ];
|
|
ssh = {
|
|
host = "95.215.187.30";
|
|
opts = "";
|
|
hostPublicKey = self.keys.systems.fedi300;
|
|
};
|
|
nixpkgs = inputs.nixpkgs;
|
|
nixos.module = {
|
|
imports = [
|
|
./fedi300
|
|
self.nixosModules.ageSecrets
|
|
{ fediversity.hostPublicKey = self.keys.systems.fedi300; }
|
|
];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
nixops4Deployments.web =
|
|
{ providers, ... }:
|
|
{
|
|
providers.local = inputs.nixops4-nixos.modules.nixops4Provider.local;
|
|
|
|
resources = {
|
|
vm02187 = {
|
|
type = providers.local.exec;
|
|
imports = [ inputs.nixops4-nixos.modules.nixops4Resource.nixos ];
|
|
ssh = {
|
|
host = "185.206.232.187";
|
|
opts = "";
|
|
hostPublicKey = self.keys.systems.vm02187;
|
|
};
|
|
nixpkgs = inputs.nixpkgs;
|
|
nixos.module = {
|
|
imports = [
|
|
./vm02187
|
|
self.nixosModules.ageSecrets
|
|
{ fediversity.hostPublicKey = self.keys.systems.vm02187; }
|
|
];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
nixops4Deployments.other =
|
|
{ providers, ... }:
|
|
{
|
|
providers.local = inputs.nixops4-nixos.modules.nixops4Provider.local;
|
|
|
|
resources = {
|
|
vm02179 = {
|
|
type = providers.local.exec;
|
|
imports = [ inputs.nixops4-nixos.modules.nixops4Resource.nixos ];
|
|
ssh = {
|
|
host = "185.206.232.179";
|
|
opts = "";
|
|
hostPublicKey = self.keys.systems.vm02179;
|
|
};
|
|
nixpkgs = inputs.nixpkgs;
|
|
nixos.module = {
|
|
imports = [
|
|
./vm02179
|
|
self.nixosModules.ageSecrets
|
|
{ fediversity.hostPublicKey = self.keys.systems.vm02179; }
|
|
];
|
|
};
|
|
};
|
|
|
|
vm02186 = {
|
|
type = providers.local.exec;
|
|
imports = [ inputs.nixops4-nixos.modules.nixops4Resource.nixos ];
|
|
ssh = {
|
|
host = "185.206.232.186";
|
|
opts = "";
|
|
hostPublicKey = self.keys.systems.vm02186;
|
|
};
|
|
nixpkgs = inputs.nixpkgs;
|
|
nixos.module = {
|
|
imports = [
|
|
./vm02186
|
|
self.nixosModules.ageSecrets
|
|
{ fediversity.hostPublicKey = self.keys.systems.vm02186; }
|
|
];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|