mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
Enable twofactor for nextcloud
This commit is contained in:
parent
381da3110c
commit
b0812e54ab
1 changed files with 12 additions and 1 deletions
|
|
@ -55,7 +55,18 @@
|
||||||
startAt = "04:00:00";
|
startAt = "04:00:00";
|
||||||
};
|
};
|
||||||
extraApps = {
|
extraApps = {
|
||||||
inherit (config.services.nextcloud.package.packages.apps) contacts calendar onlyoffice;
|
inherit (config.services.nextcloud.package.packages.apps) calendar contacts onlyoffice;
|
||||||
|
|
||||||
|
twofactor_totp = pkgs.fetchNextcloudApp {
|
||||||
|
url =
|
||||||
|
let
|
||||||
|
name = "twofactor_totp";
|
||||||
|
version = "6.4.1";
|
||||||
|
in
|
||||||
|
"https://github.com/nextcloud-releases/${name}/releases/download/v${version}/${name}-v${version}.tar.gz";
|
||||||
|
sha256 = "sha256-zAPNugbvngXcpgWJLD78YAg4G1QtGaphx1bhhg7mLKE=";
|
||||||
|
license = "gpl3";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue