murex: get working again

This commit is contained in:
Gabriel Ebner 2020-10-11 12:14:54 +02:00
parent 479986d2f6
commit 1d87223b87

@ -13,9 +13,7 @@
uboot.enable = true;
};
boot.kernelPackages = pkgs.linuxPackages_latest;
# boot.kernelPackages = pkgs.linuxPackages_4_18;
# boot.kernelPackages = pkgs.linuxPackages_rpi;
boot.kernelPackages = pkgs.linuxPackages_5_4;
boot.kernelParams = [
"cma=32M" # for virtual console, see https://nixos.wiki/wiki/NixOS_on_ARM
@ -72,7 +70,11 @@
services.octoprint = {
enable = true;
plugins = ps: with ps; [ printtimegenius touchui psucontrol ];
plugins = ps: with ps; [
printtimegenius
touchui
# psucontrol
];
};
# systemd.services.setupGpioForRelais = rec {
# wantedBy = [ "octoprint.service" ];
@ -131,6 +133,7 @@
# do not cache that octoprint is inaccessible on startup
extraConfig = ''
proxy_cache off;
proxy_set_header Accept-Encoding "*";
'';
};
locations."/webcam/".proxyPass = "http://localhost:5050/?action=stream";