Work on hydra config, fix tor relay config, prepare web-public-2 host
This commit is contained in:
parent
8eb9538485
commit
e8afd2b667
15 changed files with 176 additions and 9 deletions
14
hosts/web-public-2/configuration.nix
Normal file
14
hosts/web-public-2/configuration.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ ... }:
|
||||
{
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
device = "/dev/vda";
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostName = "web-public-02";
|
||||
firewall.enable = false;
|
||||
};
|
||||
|
||||
system.stateVersion = "23.05";
|
||||
}
|
7
hosts/web-public-2/default.nix
Normal file
7
hosts/web-public-2/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./configuration.nix
|
||||
./nginx.nix
|
||||
];
|
||||
}
|
6
hosts/web-public-2/nginx.nix
Normal file
6
hosts/web-public-2/nginx.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue