feat: add nextcloud auto backup
This commit is contained in:
parent
6f6f5fb4b0
commit
1e9417785d
2 changed files with 69 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue