From 4453af9e4534fea8e8e55d2a0dc3403d1a34a837 Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 19 Jan 2025 11:30:04 +0000 Subject: [PATCH] MODIFY: remove bind-mounts from fileserver --- .../optional/fileserver/bind-mounts/media.nix | 13 ------------- .../optional/fileserver/bind-mounts/personal.nix | 13 ------------- .../optional/fileserver/bind-mounts/photos.nix | 13 ------------- 3 files changed, 39 deletions(-) delete mode 100644 hosts/common/optional/fileserver/bind-mounts/media.nix delete mode 100644 hosts/common/optional/fileserver/bind-mounts/personal.nix delete mode 100644 hosts/common/optional/fileserver/bind-mounts/photos.nix diff --git a/hosts/common/optional/fileserver/bind-mounts/media.nix b/hosts/common/optional/fileserver/bind-mounts/media.nix deleted file mode 100644 index 39be6e6..0000000 --- a/hosts/common/optional/fileserver/bind-mounts/media.nix +++ /dev/null @@ -1,13 +0,0 @@ -{configVars, ...}: let - homeshareDataLocation = configVars.locations.homeshareDataLocation; -in -{ - fileSystems."/media/media" = { - device = "${homeshareDataLocation}/media"; - fsType = "none"; - options = [ "bind" ]; - }; -} - - - diff --git a/hosts/common/optional/fileserver/bind-mounts/personal.nix b/hosts/common/optional/fileserver/bind-mounts/personal.nix deleted file mode 100644 index 7222550..0000000 --- a/hosts/common/optional/fileserver/bind-mounts/personal.nix +++ /dev/null @@ -1,13 +0,0 @@ -{configVars, ...}: let - homeshareDataLocation = configVars.locations.homeshareDataLocation; -in -{ - fileSystems."/media/personal" = { - device = "${homeshareDataLocation}/personal"; - fsType = "none"; - options = [ "bind" ]; - }; -} - - - diff --git a/hosts/common/optional/fileserver/bind-mounts/photos.nix b/hosts/common/optional/fileserver/bind-mounts/photos.nix deleted file mode 100644 index 932e54a..0000000 --- a/hosts/common/optional/fileserver/bind-mounts/photos.nix +++ /dev/null @@ -1,13 +0,0 @@ -{configVars, ...}: let - homeshareDataLocation = configVars.locations.homeshareDataLocation; -in -{ - fileSystems."/media/photos" = { - device = "${homeshareDataLocation}/photos"; - fsType = "none"; - options = [ "bind" ]; - }; -} - - -