This commit is contained in:
Philipp Hochkamp 2022-09-11 23:24:13 +02:00
parent f8be7905e8
commit a25ea1f4aa

View file

@ -38,7 +38,14 @@ in
networking.bridges."br0".interfaces = [ ]; networking.bridges."br0".interfaces = [ ];
networking.hostId = "7b4c2932"; networking.hostId = "7b4c2932";
boot.binfmt.emulatedSystems = [ "aarch64-linux" "armv7l-linux" ]; boot.binfmt.emulatedSystems = [ "aarch64-linux" "armv7l-linux" ];
services.nginx.appendHttpConfig = ''
allow 10.0.0.0/8;
allow 100.64.0.0/10;
'';
services.nginx.virtualHosts."h.hailsatan.eu" = { services.nginx.virtualHosts."h.hailsatan.eu" = {
extraConfig = ''
allow all;
'';
useACMEHost = "hailsatan.eu"; useACMEHost = "hailsatan.eu";
addSSL = true; addSSL = true;
locations = { locations = {
@ -86,6 +93,7 @@ in
]; ];
}; };
# Enable Scanning # Enable Scanning
hardware.sane.enable = true; hardware.sane.enable = true;
hardware.sane.extraBackends = [ pkgs.sane-airscan ]; hardware.sane.extraBackends = [ pkgs.sane-airscan ];
@ -201,7 +209,7 @@ in
}; };
nixpkgs.overlays = [ nixpkgs.overlays = [
(self: super: { (self: super: {
zfs = super.zfs.override {enableMail = true;}; zfs = super.zfs.override { enableMail = true; };
}) })
]; ];
@ -245,7 +253,6 @@ in
ssh.enable = true; ssh.enable = true;
nginx.enable = true; nginx.enable = true;
msmtp.enable = true; msmtp.enable = true;
jellyfin.enable = true;
photoprism.enable = true; photoprism.enable = true;
tailscale.enable = true; tailscale.enable = true;
tailscale.exitNode = true; tailscale.exitNode = true;