From e66ee6f45f1ce59a07a5fc88f2c95bb3dc06a01a Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sun, 15 Dec 2024 00:59:01 +0100 Subject: [PATCH] nixos/weechat: Drop user home directory configuration Configuring an user home directory also enables several invocations and mechanisms, e.g. SSH authorized_keys or bashrc, which is bad from a security perspective. The service doesn't need that at all and the environment is set up over different ways now. So drop it. This doesn't change the current behaviour. Signed-off-by: Felix Singer --- nixos/modules/services/misc/weechat.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/nixos/modules/services/misc/weechat.nix b/nixos/modules/services/misc/weechat.nix index 0c1c17c8fc15..df6eadeb5e6d 100644 --- a/nixos/modules/services/misc/weechat.nix +++ b/nixos/modules/services/misc/weechat.nix @@ -37,9 +37,7 @@ in users = { groups.weechat = { }; users.weechat = { - createHome = true; group = "weechat"; - home = cfg.root; isSystemUser = true; }; };