ma latte: move owncloud to hetzner

This commit is contained in:
makefu 2022-05-30 12:57:33 +02:00
parent cdc73d611e
commit 4218846220
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -34,20 +34,11 @@ in {
# Services:
<stockholm/makefu/2configs/nix-community/mediawiki-matrix-bot.nix>
<stockholm/makefu/2configs/torrent/rtorrent.nix>
# torrent is managed by gum
# <stockholm/makefu/2configs/torrent/rtorrent.nix>
## Web
<stockholm/makefu/2configs/deployment/rss.euer.krebsco.de.nix>
<stockholm/makefu/2configs/deployment/owncloud.nix>
### Moving owncloud data dir to /media/cloud/nextcloud-data
{
users.users.nextcloud.extraGroups = [ "download" ];
# nextcloud-setup fails as it cannot set permissions for nextcloud
systemd.services.nextcloud-setup.serviceConfig.SuccessExitStatus = "0 1";
fileSystems."/var/lib/nextcloud/data" = {
device = "/media/cloud/nextcloud-data";
options = [ "bind" ];
};
}
# local usage:
<stockholm/makefu/2configs/mosh.nix>