From 8b35e56d033704a02c35a28d76431a668f3129cd Mon Sep 17 00:00:00 2001 From: Patrick Date: Thu, 5 Sep 2024 11:03:17 +0200 Subject: [PATCH] feat: disable signal user for blog --- config/services/blog.nix | 12 ------------ config/services/octoprint.nix | 4 ++-- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/config/services/blog.nix b/config/services/blog.nix index 6bdc7aa..2949f71 100644 --- a/config/services/blog.nix +++ b/config/services/blog.nix @@ -39,12 +39,6 @@ in group = "blog"; mode = "0700"; } - { - directory = "/var/lib/signal"; - user = "signal"; - group = "signal"; - mode = "0700"; - } ]; systemd.timers.blog-update = { wantedBy = [ "timers.target" ]; @@ -53,12 +47,6 @@ in OnUnitActiveSec = "1m"; }; }; - users.groups.signal = { }; - users.users.signal = { - isSystemUser = true; - group = "signal"; - home = "/var/lib/signal"; - }; users.groups.blog = { }; users.users.blog = { isSystemUser = true; diff --git a/config/services/octoprint.nix b/config/services/octoprint.nix index 266ef2d..733cd19 100644 --- a/config/services/octoprint.nix +++ b/config/services/octoprint.nix @@ -21,8 +21,8 @@ plugins = ps: with ps; [ ender3v2tempfix ]; settings = { accessControl = { - addRemoteUsers = true; - trustRemoteUser = true; + #addRemoteUsers = true; + #trustRemoteUser = true; remoteUserHeader = "X-User"; }; };