summaryrefslogtreecommitdiffstats
path: root/krebs/3modules
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-01-08 00:37:52 +0100
committerlassulus <lassulus@lassul.us>2021-01-08 00:37:52 +0100
commitedf923cc7bb315b3068094510c04b40619c42620 (patch)
tree6f5bdd9515f3c5aa6cfd19bf86eac86873c1ce4e /krebs/3modules
parent90b0cb68db8bc5d0484e7f469ac21aff4a58a464 (diff)
brockman: add home as statedir
Diffstat (limited to 'krebs/3modules')
-rw-r--r--krebs/3modules/brockman.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/krebs/3modules/brockman.nix b/krebs/3modules/brockman.nix
index 21cc14202..55e8255b4 100644
--- a/krebs/3modules/brockman.nix
+++ b/krebs/3modules/brockman.nix
@@ -9,7 +9,11 @@ in {
};
config = mkIf cfg.enable {
- users.extraUsers.brockman.isNormalUser = false;
+ users.extraUsers.brockman = {
+ home = "/var/lib/brockman";
+ createHome = true;
+ isNormalUser = false;
+ };
systemd.services.brockman = {
description = "RSS to IRC broadcaster";