feat: add nextcloud auto backup

This commit is contained in:
DACHXY 2025-04-24 16:09:36 +08:00
parent 6f6f5fb4b0
commit 1e9417785d
2 changed files with 69 additions and 0 deletions

View file

@ -1,6 +1,23 @@
{ pkgs, ... }:
{
fileSystems."/mnt/backup_dn" = {
device = "/dev/disk/by-uuid/FBD9-F625";
fsType = "exfat";
options = [
"x-systemd.automount"
"noauto"
"x-systemd.idle-timeout=600"
"nofail"
"user"
"x-gvfs-show"
"gid=1000"
"uid=1000"
"dmask=000"
"fmask=000"
];
};
boot.kernelPackages = pkgs.linuxPackages;
boot.loader.systemd-boot.enable = true;