diff options
author | lassulus <lassulus@lassul.us> | 2021-12-01 16:44:42 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-12-01 16:44:42 +0100 |
commit | 0594a70fea841be9ce48575386f7e4579dbf1563 (patch) | |
tree | 9a3192ee43dffb28d51ba33594db20b8f8fd10fd /lass/2configs/bitlbee.nix | |
parent | 6274e2c5317489c3bae86340333ea59b35298655 (diff) |
l bitlbee: disable dynamicUser
Diffstat (limited to 'lass/2configs/bitlbee.nix')
-rw-r--r-- | lass/2configs/bitlbee.nix | 17 |
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; + }; } |