mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-10 05:44:38 -05:00
feat: set up sshfs on deimos
This commit is contained in:
parent
27781d3d0f
commit
2b4ad99e25
8 changed files with 54 additions and 8 deletions
|
@ -1,7 +1,9 @@
|
|||
{ devicesFunctions }:
|
||||
let
|
||||
inherit (devicesFunctions)
|
||||
sshfsOptions
|
||||
fileModeAndDirMode
|
||||
ceresStorageDriveName
|
||||
ownerExclusiveReadWriteMask
|
||||
readWritePermissions
|
||||
sambaPermissions
|
||||
|
@ -9,7 +11,6 @@ let
|
|||
ceresIP
|
||||
;
|
||||
ceresName = "ceres";
|
||||
ceresStorageDriveName = "NAS1";
|
||||
in
|
||||
{
|
||||
label = "Ceres";
|
||||
|
@ -33,4 +34,9 @@ in
|
|||
device = "//${ceresIP}";
|
||||
options = sambaPermissions ++ fileModeAndDirMode ++ userIdForUser0;
|
||||
};
|
||||
remote0 = {
|
||||
mount = "/mnt/media/remote";
|
||||
device = "nick@24.76.173.0:/mnt/media/${ceresStorageDriveName}";
|
||||
options = sshfsOptions;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue