From b61b7ba38a57860d59e68081e7e2f116d210b9c5 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Mon, 4 Dec 2023 11:23:48 +0300 Subject: [PATCH] asus: add octoprint --- nixos/hosts/asus-gl553vd/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nixos/hosts/asus-gl553vd/default.nix b/nixos/hosts/asus-gl553vd/default.nix index 8aabc97..3e3bf40 100644 --- a/nixos/hosts/asus-gl553vd/default.nix +++ b/nixos/hosts/asus-gl553vd/default.nix @@ -36,6 +36,9 @@ }; networkmanager.enable = true; + firewall.allowedTCPPortRanges = [ + { from = 33000; to = 33999; } + ]; }; # enable bluetooth @@ -79,4 +82,11 @@ # Style and Grammar Checker services.languagetool.enable = true; + + # 3D printing + services.octoprint = { + enable = true; + port = 33002; + plugins = ps: [ ps.stlviewer ]; + }; }