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"; }