added server name to message with disabled backups
This commit is contained in:
parent
0d109aa671
commit
c8cd6e5c94
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,8 @@ in
|
||||||
|
|
||||||
# Warn if backups are disable and machine isnt a dev box
|
# Warn if backups are disable and machine isnt a dev box
|
||||||
warnings = [
|
warnings = [
|
||||||
(mkIf (!cfg.local.enable && config.mySystem.purpose != "Development") "WARNING: Local backups are disabled!")
|
(mkIf (!cfg.local.enable && config.mySystem.purpose != "Development") "WARNING: Local backups are disabled for ${config.system.name}!")
|
||||||
(mkIf (!cfg.remote.enable && config.mySystem.purpose != "Development") "WARNING: Remote backups are disabled!")
|
(mkIf (!cfg.remote.enable && config.mySystem.purpose != "Development") "WARNING: Remote backups are disabled for ${config.system.name}!")
|
||||||
];
|
];
|
||||||
|
|
||||||
sops.secrets = mkIf (cfg.local.enable || cfg.remote.enable) {
|
sops.secrets = mkIf (cfg.local.enable || cfg.remote.enable) {
|
||||||
|
|
Loading…
Reference in a new issue