Merge pull request #124735 from domenkozar/duplicati
duplicati: 2.0.5.1 -> 2.0.6.1, fix nixos module
This commit is contained in:
commit
bbc1fc369f
|
@ -54,12 +54,14 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
users.users.duplicati = lib.optionalAttrs (cfg.user == "duplicati") {
|
||||
users.users = lib.optionalAttrs (cfg.user == "duplicati") {
|
||||
duplicati = {
|
||||
uid = config.ids.uids.duplicati;
|
||||
home = "/var/lib/duplicati";
|
||||
createHome = true;
|
||||
group = "duplicati";
|
||||
};
|
||||
};
|
||||
users.groups.duplicati.gid = config.ids.gids.duplicati;
|
||||
|
||||
};
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "duplicati";
|
||||
version = "2.0.5.1";
|
||||
version = "2.0.6.1";
|
||||
channel = "beta";
|
||||
build_date = "2020-01-18";
|
||||
build_date = "2021-05-03";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/duplicati/duplicati/releases/download/v${version}-${version}_${channel}_${build_date}/duplicati-${version}_${channel}_${build_date}.zip";
|
||||
sha256 = "1k3gfwcw7snxkqn4lf9rx1vzradpyq5vc48pwvaa8wwqnlykiimw";
|
||||
sha256 = "09537hswpicsx47vfdm78j3h7vvjd7nqjd2461jrln57nl7v7dac";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue