hosts/storage-2: add bahnansagen
This commit is contained in:
parent
33195da4d7
commit
6d89551808
15
hosts/storage-2/bahnansagen.nix
Normal file
15
hosts/storage-2/bahnansagen.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
services.nginx.virtualHosts = {
|
||||
"bahnansagen.clerie.de" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
alias = "/data/bahnansagen/";
|
||||
basicAuthFile = "/var/src/secrets/nginx/bahnansagen.htpasswd";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
@ -6,6 +6,7 @@
|
||||
./hardware-configuration.nix
|
||||
../../configuration/common
|
||||
../../configuration/proxmox-vm
|
||||
./bahnansagen.nix
|
||||
./mixcloud.nix
|
||||
./share.nix
|
||||
./storage.nix
|
||||
@ -15,8 +16,6 @@
|
||||
boot.loader.grub.version = 2;
|
||||
boot.loader.grub.device = "/dev/vda";
|
||||
|
||||
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||
|
||||
networking.hostName = "storage-2";
|
||||
|
||||
networking.useDHCP = false;
|
||||
|
Loading…
Reference in New Issue
Block a user