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
|
./hardware-configuration.nix
|
||||||
../../configuration/common
|
../../configuration/common
|
||||||
../../configuration/proxmox-vm
|
../../configuration/proxmox-vm
|
||||||
|
./bahnansagen.nix
|
||||||
./mixcloud.nix
|
./mixcloud.nix
|
||||||
./share.nix
|
./share.nix
|
||||||
./storage.nix
|
./storage.nix
|
||||||
@ -15,8 +16,6 @@
|
|||||||
boot.loader.grub.version = 2;
|
boot.loader.grub.version = 2;
|
||||||
boot.loader.grub.device = "/dev/vda";
|
boot.loader.grub.device = "/dev/vda";
|
||||||
|
|
||||||
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
|
||||||
|
|
||||||
networking.hostName = "storage-2";
|
networking.hostName = "storage-2";
|
||||||
|
|
||||||
networking.useDHCP = false;
|
networking.useDHCP = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user