trim any newlines in the password, or else it won't set right

This commit is contained in:
tdback 2024-11-12 22:08:14 -05:00
parent e1336c6ad4
commit b7c9bf8be6

View file

@ -39,7 +39,7 @@ in
let
password = config.age.secrets.piholeAdminPass.path;
in ''
podman exec -it pihole pihole -a -p ${password}
podman exec -it pihole pihole -a -p "$(tr -d '\n' < ${password})"
'';
networking.firewall = {