sharing backups mount

This commit is contained in:
Danilo Reyes 2025-08-02 14:57:13 -06:00
parent 81e9cb64bb
commit 480f5290f1
2 changed files with 8 additions and 7 deletions

View File

@ -118,11 +118,6 @@
options = [ "bind" ];
depends = [ "/srv/pool" ];
};
"/srv/pool/glue/nvme" = {
device = "/home/jawz/Backups/glue";
options = [ "bind" ];
depends = [ "/srv/pool" ];
};
"/srv/jellyfin/media" = {
device = "/srv/pool/multimedia/media";
options = [
@ -141,6 +136,11 @@
options = [ "bind" ];
depends = [ "/srv/pool" ];
};
"/export/backups" = {
device = "/srv/backups";
options = [ "bind" ];
depends = [ "/srv/pool" ];
};
};
services.nfs.server = {
enable = true;
@ -151,6 +151,8 @@
miniserver(rw,nohide,insecure,no_subtree_check)
/export/pool workstation(rw,nohide,insecure,no_subtree_check)
miniserver(rw,nohide,insecure,no_subtree_check)
/export/backups workstation(rw,nohide,insecure,no_subtree_check)
miniserver(rw,nohide,insecure,no_subtree_check)
'';
};
swapDevices = [

View File

@ -117,10 +117,9 @@
"/" = btrfsMount "nixos";
"/home" = btrfsMount "home";
"/srv/games" = btrfsMount "games";
#"/srv/miniserver/pool" = nfsMount "miniserver" "pool";
#"/srv/miniserver/jawz" = nfsMount "miniserver" "jawz";
"/srv/pool" = nfsMount "server" "pool";
"/srv/server_home" = nfsMount "server" "jawz";
"/srv/backups" = nfsMount "server" "backups";
"/boot" = {
device = "/dev/disk/by-uuid/ac6d349a-96b9-499e-9009-229efd7743a5";
fsType = "ext4";