Merge pull request #188771 from K900/vaultwarden-permissions

nixos/vaultwarden: protect the default data directory more
This commit is contained in:
K900 2022-08-30 09:41:15 +03:00 committed by GitHub
commit fcea1ef75f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -196,6 +196,7 @@ ADMIN_TOKEN=...copy-paste a unique generated secret token here...
ProtectSystem = "strict";
AmbientCapabilities = "CAP_NET_BIND_SERVICE";
StateDirectory = "bitwarden_rs";
StateDirectoryMode = "0700";
};
wantedBy = [ "multi-user.target" ];
};