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,11 +54,13 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.duplicati = lib.optionalAttrs (cfg.user == "duplicati") {
|
users.users = lib.optionalAttrs (cfg.user == "duplicati") {
|
||||||
uid = config.ids.uids.duplicati;
|
duplicati = {
|
||||||
home = "/var/lib/duplicati";
|
uid = config.ids.uids.duplicati;
|
||||||
createHome = true;
|
home = "/var/lib/duplicati";
|
||||||
group = "duplicati";
|
createHome = true;
|
||||||
|
group = "duplicati";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
users.groups.duplicati.gid = config.ids.gids.duplicati;
|
users.groups.duplicati.gid = config.ids.gids.duplicati;
|
||||||
|
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "duplicati";
|
pname = "duplicati";
|
||||||
version = "2.0.5.1";
|
version = "2.0.6.1";
|
||||||
channel = "beta";
|
channel = "beta";
|
||||||
build_date = "2020-01-18";
|
build_date = "2021-05-03";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://github.com/duplicati/duplicati/releases/download/v${version}-${version}_${channel}_${build_date}/duplicati-${version}_${channel}_${build_date}.zip";
|
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;
|
stripRoot = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue