duplicati: 2.0.5.1 -> 2.0.6.1, fix nixos module

This commit is contained in:
Domen Kožar 2021-05-28 10:32:57 +02:00
parent 69ef6e0883
commit b72c2d3806
No known key found for this signature in database
GPG Key ID: C2FFBCAFD2C24246
2 changed files with 10 additions and 8 deletions

View File

@ -54,11 +54,13 @@ in
};
};
users.users.duplicati = lib.optionalAttrs (cfg.user == "duplicati") {
uid = config.ids.uids.duplicati;
home = "/var/lib/duplicati";
createHome = true;
group = "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;

View File

@ -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;
};