diff options
author | lassulus <lassulus@lassul.us> | 2021-01-08 00:37:52 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-01-08 00:37:52 +0100 |
commit | edf923cc7bb315b3068094510c04b40619c42620 (patch) | |
tree | 6f5bdd9515f3c5aa6cfd19bf86eac86873c1ce4e /krebs/3modules/brockman.nix | |
parent | 90b0cb68db8bc5d0484e7f469ac21aff4a58a464 (diff) |
brockman: add home as statedir
Diffstat (limited to 'krebs/3modules/brockman.nix')
-rw-r--r-- | krebs/3modules/brockman.nix | 6 |
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"; |