forked from fi/nix-infra
Add SMTP configuration to nextcloud and use an additional disk for the data
This commit is contained in:
parent
3f9cdc0943
commit
c1bd4e3529
4 changed files with 62 additions and 22 deletions
10
hosts/nextcloud/hardware-configuration.nix
Normal file
10
hosts/nextcloud/hardware-configuration.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ ... }:
|
||||
{
|
||||
fileSystems."/var/lib/nextcloud/data" = {
|
||||
device = "/dev/vdb";
|
||||
fsType = "ext4";
|
||||
autoFormat = true;
|
||||
autoResize = true;
|
||||
options = [ "X-mount.owner=nextcloud" "X-mount.group=nextcloud" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue