power
This commit is contained in:
parent
f8be7905e8
commit
a25ea1f4aa
1 changed files with 9 additions and 2 deletions
|
|
@ -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 ];
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue