Disable vault agent kodi mount

Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
magic_rb 2024-01-22 00:43:34 +01:00
parent 1142e4a94b
commit b7d82b950c
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -9,13 +9,13 @@ in
sshfs
];
services.hashicorp.vault-agent = {
settings.template = singleton {
source = pkgs.writeText "kodi-samba.cred.vtmpl"
''{{ with secret "kv/data/homelab-1/blowhole/kodi_samba.cred" }}{{ .Data.data.cred }}{{ end }}'';
destination = "/run/secrets/kodi_samba.cred";
};
};
# services.hashicorp.vault-agent = {
# settings.template = singleton {
# source = pkgs.writeText "kodi-samba.cred.vtmpl"
# ''{{ with secret "kv/data/homelab-1/blowhole/kodi_samba.cred" }}{{ .Data.data.cred }}{{ end }}'';
# destination = "/run/secrets/kodi_samba.cred";
# };
# };
fileSystems =
{