summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-12-01 16:44:42 +0100
committerlassulus <lassulus@lassul.us>2021-12-01 16:44:42 +0100
commit0594a70fea841be9ce48575386f7e4579dbf1563 (patch)
tree9a3192ee43dffb28d51ba33594db20b8f8fd10fd
parent6274e2c5317489c3bae86340333ea59b35298655 (diff)
l bitlbee: disable dynamicUser
-rw-r--r--lass/2configs/bitlbee.nix17
1 files changed, 15 insertions, 2 deletions
diff --git a/lass/2configs/bitlbee.nix b/lass/2configs/bitlbee.nix
index d8f1ae888..b84221155 100644
--- a/lass/2configs/bitlbee.nix
+++ b/lass/2configs/bitlbee.nix
@@ -11,9 +11,22 @@ with (import <stockholm/lib>);
pkgs.bitlbee-discord
];
libpurple_plugins = [
- # pkgs.telegram-purple
- pkgs.tdlib-purple
+ pkgs.telegram-purple
+ # pkgs.tdlib-purple
# pkgs.purple-gowhatsapp
];
};
+
+ users.users.bitlbee = {
+ uid = genid_uint31 "bitlbee";
+ isSystemUser = true;
+ group = "bitlbee";
+ };
+ users.groups.bitlbee = {};
+
+ systemd.services.bitlbee.serviceConfig = {
+ DynamicUser = lib.mkForce false;
+ User = "bitlbee";
+ StateDirectory = lib.mkForce null;
+ };
}