From a44b09fb46f2beb1eaa42563f5b8cb9fb9845310 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 28 Mar 2021 22:48:43 +0000 Subject: [PATCH] bvm-twitterchiver: create twitterchiver user --- ops/nixos/bvm-twitterchiver/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ops/nixos/bvm-twitterchiver/default.nix b/ops/nixos/bvm-twitterchiver/default.nix index 06b2a9db62..d21c3d9b0b 100644 --- a/ops/nixos/bvm-twitterchiver/default.nix +++ b/ops/nixos/bvm-twitterchiver/default.nix @@ -31,5 +31,13 @@ }; services.postgresqlBackup.enable = true; + users.groups.twitterchiver = {}; + users.users.twitterchiver = { + home = "/srv/twitterchiver"; + isSystemUser = true; + createHome = true; + group = "twitterchiver"; + }; + system.stateVersion = "21.05"; }