Fediversity/infra/flake-part.nix

92 lines
2.5 KiB
Nix
Raw Normal View History

2024-12-12 11:14:03 +01:00
{ 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 = "";
2024-12-12 11:14:03 +01:00
hostPublicKey = self.keys.systems.vm02116;
};
nixpkgs = inputs.nixpkgs;
nixos.module = {
2024-12-11 13:27:37 +01:00
imports = [
./vm02116
self.nixosModules.ageSecrets
2024-12-13 12:37:25 +01:00
{ fediversity.hostPublicKey = self.keys.systems.vm02116; }
2024-12-11 13:27:37 +01:00
];
};
};
vm02179 = {
type = providers.local.exec;
imports = [ inputs.nixops4-nixos.modules.nixops4Resource.nixos ];
ssh = {
host = "185.206.232.179";
opts = "";
2024-12-12 11:14:03 +01:00
hostPublicKey = self.keys.systems.vm02179;
};
nixpkgs = inputs.nixpkgs;
nixos.module = {
2024-12-11 13:32:41 +01:00
imports = [
./vm02179
self.nixosModules.ageSecrets
2024-12-13 12:37:25 +01:00
{ fediversity.hostPublicKey = self.keys.systems.vm02179; }
2024-12-11 13:32:41 +01:00
];
};
};
vm02186 = {
type = providers.local.exec;
imports = [ inputs.nixops4-nixos.modules.nixops4Resource.nixos ];
ssh = {
host = "185.206.232.186";
opts = "";
2024-12-12 11:14:03 +01:00
hostPublicKey = self.keys.systems.vm02186;
};
nixpkgs = inputs.nixpkgs;
nixos.module = {
2024-12-11 13:32:41 +01:00
imports = [
./vm02186
self.nixosModules.ageSecrets
2024-12-13 12:37:25 +01:00
{ fediversity.hostPublicKey = self.keys.systems.vm02186; }
2024-12-11 13:32:41 +01:00
];
};
};
};
};
2024-11-18 11:55:50 +01:00
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 = "";
2024-12-12 11:14:03 +01:00
hostPublicKey = self.keys.systems.vm02187;
2024-11-18 11:55:50 +01:00
};
nixpkgs = inputs.nixpkgs;
nixos.module = {
imports = [
./vm02187
self.nixosModules.ageSecrets
2024-12-13 12:37:25 +01:00
{ fediversity.hostPublicKey = self.keys.systems.vm02187; }
];
2024-11-18 11:55:50 +01:00
};
};
};
};
}