update pepe and sputnik
This commit is contained in:
parent
0105051718
commit
e23e4dceb8
4 changed files with 27 additions and 4 deletions
|
@ -5,7 +5,7 @@
|
|||
<system/server>
|
||||
./hardware-configuration.nix
|
||||
|
||||
./home-assistant.nix
|
||||
#./home-assistant.nix
|
||||
./kodi.nix
|
||||
./syncthing.nix
|
||||
./tinc.nix
|
||||
|
|
|
@ -47,8 +47,9 @@
|
|||
memoryPercent = 50;
|
||||
};
|
||||
|
||||
fileSystems."/share/" = {
|
||||
device = "/dev/ram1";
|
||||
fileSystems."/share" = {
|
||||
#device = "/dev/ram1";
|
||||
device = "none";
|
||||
fsType = "tmpfs";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
autorun = false;
|
||||
videoDrivers = [ "intel" ];
|
||||
#deviceSection = ''
|
||||
|
|
|
@ -259,6 +259,28 @@ in {
|
|||
priority = 210;
|
||||
extraConfig = "return 301 $scheme://$host/remote.php/dav;";
|
||||
};
|
||||
"~ \.(?:css|js|svg|gif)$" = {
|
||||
proxyPass = "http://nextcloud.workhorse.private$request_uri";
|
||||
extraConfig = ''
|
||||
expires 6M; # Cache-Control policy borrowed from `.htaccess`
|
||||
access_log off; # Optional: Don't log access to assets
|
||||
sub_filter "http://nextcloud.ingolf-wagner.de" "https://nextcloud.ingolf-wagner.de";
|
||||
sub_filter "nextcloud.workhorse.private" "nextcloud.ingolf-wagner.de";
|
||||
# used for view/edit office file via Office Online Server
|
||||
client_max_body_size 0;
|
||||
'';
|
||||
};
|
||||
"~ \.woff2?$" = {
|
||||
proxyPass = "http://nextcloud.workhorse.private$request_uri";
|
||||
extraConfig = ''
|
||||
expires 7d; # Cache-Control policy borrowed from `.htaccess`
|
||||
access_log off; # Optional: Don't log access to assets
|
||||
sub_filter "http://nextcloud.ingolf-wagner.de" "https://nextcloud.ingolf-wagner.de";
|
||||
sub_filter "nextcloud.workhorse.private" "nextcloud.ingolf-wagner.de";
|
||||
# used for view/edit office file via Office Online Server
|
||||
client_max_body_size 0;
|
||||
'';
|
||||
};
|
||||
|
||||
} // error.locations;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue