ENH turn rofi device config into template
This commit is contained in:
parent
12ed6ffbf5
commit
a6d2d856a5
|
@ -23,6 +23,7 @@ data:
|
|||
vpn: {{ and $desktop (promptBool "vpn" false) }}
|
||||
seafile: {{ and $desktop (promptBool "seafile" false) }}
|
||||
conky_alias: {{ if $desktop -}}{{ (promptString "conky" "none") }}{{ else }}none{{ end }}
|
||||
rofi_alias: {{ if $desktop -}}{{ (promptString "rofi-alias" "none") }}{{ else }}none{{ end }}
|
||||
development:
|
||||
|
||||
{{- /* emacs implies that most development options are true */}}
|
||||
|
|
|
@ -1,63 +1,28 @@
|
|||
# directory for all relative, transitive mountpoints
|
||||
mountdir: /tmp/media/ndwar
|
||||
mountdir: /tmp/media/{{ .chezmoi.username }}
|
||||
verbose: false
|
||||
|
||||
devices:
|
||||
accounts:
|
||||
type: veracrypt
|
||||
mount:
|
||||
mountpoint: accounts
|
||||
volume: /mnt/data/Documents/.crypt/accounts
|
||||
password:
|
||||
bitwarden:
|
||||
key: Veracrypt (accounts)
|
||||
{{- if eq .features.rofi_alias "laptop" -}}
|
||||
{{- $mntdata := "/mnt/data" -}}
|
||||
{{- $crypt := $mntdata | printf "%s/Documents/.crypt" }}
|
||||
gnupg:
|
||||
type: veracrypt
|
||||
mount:
|
||||
mountpoint: /home/ndwar/.config/gnupg
|
||||
volume: /mnt/data/Documents/.crypt/gnupg
|
||||
mountpoint: {{ .paths.config }}/gnupg
|
||||
volume: {{ $crypt }}/gnupg
|
||||
password:
|
||||
bitwarden:
|
||||
key: Veracrypt (gpg)
|
||||
ssh:
|
||||
type: veracrypt
|
||||
mount:
|
||||
mountpoint: /home/ndwar/.ssh
|
||||
mountpoint: {{ .chezmoi.homeDir }}/.ssh
|
||||
label: ssh
|
||||
volume: /mnt/data/Documents/.crypt/ssh-config
|
||||
volume: {{ $crypt }}/ssh-config
|
||||
password:
|
||||
bitwarden:
|
||||
key: Veracrypt (ssh)
|
||||
ansible_pki:
|
||||
type: veracrypt
|
||||
mount:
|
||||
mountpoint: ansible-pki
|
||||
volume: /mnt/data/Documents/.crypt/ansible
|
||||
password:
|
||||
bitwarden:
|
||||
key: Veracrypt (Ansible PKI)
|
||||
call_logs:
|
||||
type: veracrypt
|
||||
mount:
|
||||
mountpoint: call-logs
|
||||
volume: /mnt/data/Documents/.crypt/call_logs
|
||||
password:
|
||||
bitwarden:
|
||||
key: Veracrypt (ACR)
|
||||
music:
|
||||
type: sshfs
|
||||
mount:
|
||||
mountpoint: /mnt/data/Music
|
||||
remote: portnoy4prez:/mnt/data/home/Music
|
||||
depends:
|
||||
- ssh
|
||||
videos:
|
||||
type: sshfs
|
||||
mount:
|
||||
mountpoint: /mnt/data/Videos
|
||||
remote: portnoy4prez:/mnt/data/home/Videos
|
||||
depends:
|
||||
- ssh
|
||||
ebm_snakemake:
|
||||
type: sshfs
|
||||
mount:
|
||||
|
@ -66,23 +31,42 @@ devices:
|
|||
remote: nisaba:/aigenomics/EBM_dev/snakemake
|
||||
depends:
|
||||
- ssh
|
||||
roylab:
|
||||
type: cifs
|
||||
accounts:
|
||||
type: veracrypt
|
||||
mount:
|
||||
mountpoint: Roylab
|
||||
remote: //ad.gatech.edu/bme/labs/roy-lab
|
||||
mountpoint: accounts
|
||||
volume: {{ $crypt }}/accounts
|
||||
password:
|
||||
libsecret:
|
||||
attributes:
|
||||
user: ndwarshuis3@gatech.edu
|
||||
host: outlook.office365.com
|
||||
mc3m:
|
||||
type: cifs
|
||||
bitwarden:
|
||||
key: Veracrypt (accounts)
|
||||
ansible_pki:
|
||||
type: veracrypt
|
||||
mount:
|
||||
mountpoint: MC3M
|
||||
remote: //ad.gatech.edu/bme/labs/mc3m
|
||||
mountpoint: ansible-pki
|
||||
volume: {{ $crypt }}/ansible
|
||||
password:
|
||||
libsecret:
|
||||
attributes:
|
||||
user: ndwarshuis3@gatech.edu
|
||||
host: outlook.office365.com
|
||||
bitwarden:
|
||||
key: Veracrypt (Ansible PKI)
|
||||
call_logs:
|
||||
type: veracrypt
|
||||
mount:
|
||||
mountpoint: call-logs
|
||||
volume: {{ $crypt }}/call_logs
|
||||
password:
|
||||
bitwarden:
|
||||
key: Veracrypt (ACR)
|
||||
music:
|
||||
type: sshfs
|
||||
mount:
|
||||
mountpoint: {{ $mntdata }}/Music
|
||||
remote: portnoy4prez:/mnt/data/home/Music
|
||||
depends:
|
||||
- ssh
|
||||
videos:
|
||||
type: sshfs
|
||||
mount:
|
||||
mountpoint: {{ $mntdata }}/Videos
|
||||
remote: portnoy4prez:/mnt/data/home/Videos
|
||||
depends:
|
||||
- ssh
|
||||
{{ end -}}
|
Loading…
Reference in New Issue