From 480f5290f1f3dc066f347589a9ee86940fc7575a Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Sat, 2 Aug 2025 14:57:13 -0600 Subject: [PATCH] sharing backups mount --- hosts/server/hardware-configuration.nix | 12 +++++++----- hosts/workstation/hardware-configuration.nix | 3 +-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/hosts/server/hardware-configuration.nix b/hosts/server/hardware-configuration.nix index 9163186..1a30d4e 100644 --- a/hosts/server/hardware-configuration.nix +++ b/hosts/server/hardware-configuration.nix @@ -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 = [ diff --git a/hosts/workstation/hardware-configuration.nix b/hosts/workstation/hardware-configuration.nix index 09da530..009ba3e 100644 --- a/hosts/workstation/hardware-configuration.nix +++ b/hosts/workstation/hardware-configuration.nix @@ -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";