ma owncloud: pkgs.nextcloud -> nextcloud
This commit is contained in:
parent
57f02b3f8e
commit
5c52b9c04f
|
@ -15,6 +15,7 @@ with lib;
|
|||
|
||||
let
|
||||
# TODO: copy-paste from lass/2/websites/util.nix
|
||||
nextcloud = nextcloud18;
|
||||
serveCloud = domains:
|
||||
let
|
||||
domain = head domains;
|
||||
|
@ -23,9 +24,9 @@ let
|
|||
in {
|
||||
system.activationScripts."prepare-nextcloud-${domain}" = ''
|
||||
if test ! -e ${root} ;then
|
||||
echo "copying latest ${pkgs.nextcloud.name} release to ${root}"
|
||||
echo "copying latest ${nextcloud.name} release to ${root}"
|
||||
mkdir -p $(dirname "${root}")
|
||||
cp -r ${pkgs.nextcloud} "${root}"
|
||||
cp -r ${nextcloud} "${root}"
|
||||
chown -R nginx:nginx "${root}"
|
||||
chmod 770 "${root}"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue