Merge pull request #207388 from SuperSandro2000/nixos/dex

This commit is contained in:
Sandro 2022-12-25 19:41:48 +01:00 committed by GitHub
commit 682e55d80d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,11 +83,12 @@ in
AmbientCapabilities = "CAP_NET_BIND_SERVICE";
BindReadOnlyPaths = [
"/nix/store"
"-/etc/resolv.conf"
"-/etc/nsswitch.conf"
"-/etc/dex"
"-/etc/hosts"
"-/etc/localtime"
"-/etc/dex"
"-/etc/nsswitch.conf"
"-/etc/resolv.conf"
"-/etc/ssl/certs/ca-certificates.crt"
];
BindPaths = optional (cfg.settings.storage.type == "postgres") "/var/run/postgresql";
CapabilityBoundingSet = "CAP_NET_BIND_SERVICE";