This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

sqlBackup: add prompt for mysql root password

+10 -2
+10 -2
2configs/websites/sqlBackup.nix
··· 1 - { config, lib, pkgs, ... }: 2 - 1 + { config, pkgs, ... }: 3 2 { 3 + clanCore.secrets.mysql = { 4 + secrets."mysql_rootPassword" = { }; 5 + generator.script = '' 6 + cat > "$secrets"/mysql_rootPassword 7 + ''; 8 + generator.prompt = '' 9 + enter mysql root password 10 + ''; 11 + }; 4 12 krebs.secret.files.mysql_rootPassword = { 5 13 path = "${config.services.mysql.dataDir}/mysql_rootPassword"; 6 14 owner.name = "mysql";