mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Remove old infra
This commit is contained in:
parent
20c62089d7
commit
a8de96fb43
12 changed files with 0 additions and 643 deletions
72
flake.nix
72
flake.nix
|
|
@ -53,66 +53,6 @@
|
|||
};
|
||||
|
||||
nixosConfigurations = {
|
||||
db1 = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
inherit nixpkgs inputs;
|
||||
};
|
||||
modules = [
|
||||
sops-nix.nixosModules.sops
|
||||
foundryvtt.nixosModules.foundryvtt
|
||||
./profiles/db.nix
|
||||
{
|
||||
sops.defaultSopsFile = ./secrets.enc.yml;
|
||||
networking.hostName = "db1";
|
||||
networking.domain = "banditlair.com";
|
||||
nix.registry.nixpkgs.flake = nixpkgs;
|
||||
|
||||
system.stateVersion = "21.05";
|
||||
}
|
||||
];
|
||||
};
|
||||
backend1 = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
inherit nixpkgs inputs;
|
||||
};
|
||||
modules = [
|
||||
defaultModuleArgs
|
||||
sops-nix.nixosModules.sops
|
||||
foundryvtt.nixosModules.foundryvtt
|
||||
./profiles/backend.nix
|
||||
{
|
||||
sops.defaultSopsFile = ./secrets.enc.yml;
|
||||
networking.hostName = "backend1";
|
||||
networking.domain = "banditlair.com";
|
||||
nix.registry.nixpkgs.flake = nixpkgs;
|
||||
|
||||
system.stateVersion = "21.05";
|
||||
}
|
||||
];
|
||||
};
|
||||
storage1 = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
inherit nixpkgs inputs;
|
||||
};
|
||||
modules = [
|
||||
defaultModuleArgs
|
||||
sops-nix.nixosModules.sops
|
||||
simple-nixos-mailserver.nixosModule
|
||||
foundryvtt.nixosModules.foundryvtt
|
||||
./profiles/storage.nix
|
||||
{
|
||||
sops.defaultSopsFile = ./secrets.enc.yml;
|
||||
networking.hostName = "storage1";
|
||||
networking.domain = "banditlair.com";
|
||||
nix.registry.nixpkgs.flake = nixpkgs;
|
||||
|
||||
system.stateVersion = "21.05";
|
||||
}
|
||||
];
|
||||
};
|
||||
hel1 = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
|
|
@ -147,18 +87,6 @@
|
|||
};
|
||||
in
|
||||
{
|
||||
db1 = {
|
||||
hostname = "db1.banditlair.com";
|
||||
profiles.system = createSystemProfile self.nixosConfigurations.db1;
|
||||
};
|
||||
backend1 = {
|
||||
hostname = "backend1.banditlair.com";
|
||||
profiles.system = createSystemProfile self.nixosConfigurations.backend1;
|
||||
};
|
||||
storage1 = {
|
||||
hostname = "78.46.96.243";
|
||||
profiles.system = createSystemProfile self.nixosConfigurations.storage1;
|
||||
};
|
||||
hel1 = {
|
||||
hostname = "37.27.138.62";
|
||||
profiles.system = createSystemProfile self.nixosConfigurations.hel1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue