From 1d87223b87a54510d64ea0d77eecede98363cfb1 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Sun, 11 Oct 2020 12:14:54 +0200 Subject: [PATCH] murex: get working again --- murex.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/murex.nix b/murex.nix index 6a5f47b..dc2ceaa 100644 --- a/murex.nix +++ b/murex.nix @@ -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";