feature/6-add-configurable-global-mountpoint #32

Merged
glenux merged 5 commits from feature/6-add-configurable-global-mountpoint into develop 2023-11-24 08:26:28 +00:00
2 changed files with 7 additions and 6 deletions
Showing only changes of commit 8fc9f2cfda - Show all commits

1
.tool-versions Normal file
View file

@ -0,0 +1 @@
crystal 1.10.1

View file

@ -84,19 +84,19 @@ detail the filesystem names, types, and respective configurations.
### YAML File Format ### YAML File Format
```yaml ```yaml
version: "1" # NOT IMPLEMENTED YET
# version: "1"
global: # global:
mountpoint: "/home/user/mnt/{{name}}" # mountpoint: "/home/user/mnt/{{filesystem.name}}"
filesystems: filesystems:
- type: "gocryptfs" - type: "gocryptfs"
name: "Work - SSH Keys" name: "Work - SSH Keys"
encrypted_path: "/home/user/.ssh/keyring.work" encrypted_path: "/home/user/.ssh/keyring.work.vault"
- type: "sshfs" - type: "sshfs"
name: "Personal - Media Server" name: "Personal - Media Server"
remote_user: "user" remote_user: "{{env.USER}}"
remote_host: "mediaserver.local" remote_host: "mediaserver.local"
remote_path: "/mnt/largedisk/music" remote_path: "/mnt/largedisk/music"
remote_port: 22 remote_port: 22