forked from Fediversity/Fediversity
100 lines
2.7 KiB
Nix
100 lines
2.7 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; }
|
|
];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
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; }
|
|
];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|