forked from wurzel/fruitbasket
pin bacula to 9.6.7
This commit is contained in:
parent
6500dfd036
commit
03497aebc9
1 changed files with 9 additions and 1 deletions
|
@ -27,6 +27,14 @@ let
|
||||||
${fd_cfg.extraMessagesConfig}
|
${fd_cfg.extraMessagesConfig}
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
# AGDSN is running an outdated version that we have to comply to
|
||||||
|
bacula_package = (pkgs.bacula.overrideAttrs (old: rec {
|
||||||
|
version = "9.6.7";
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "mirror://sourceforge/bacula/${old.pname}-${version}.tar.gz";
|
||||||
|
sha256 = "sha256-3w+FJezbo4DnS1N8pxrfO3WWWT8CGJtZqw6//IXMyN4=";
|
||||||
|
};
|
||||||
|
}));
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
sops.secrets = {
|
sops.secrets = {
|
||||||
|
@ -64,5 +72,5 @@ in
|
||||||
Password = @${config.sops.secrets."bacula/password".path}
|
Password = @${config.sops.secrets."bacula/password".path}
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
systemd.services.bacula-fd.serviceConfig.ExecStart = lib.mkForce "${pkgs.bacula}/sbin/bacula-fd -f -u root -g bacula -c ${fd_conf}";
|
systemd.services.bacula-fd.serviceConfig.ExecStart = lib.mkForce "${bacula_package}/sbin/bacula-fd -f -u root -g bacula -c ${fd_conf}";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue