add script to import gpg key from 1p (done) and to install programs on different OS (todo)
This commit is contained in:
parent
5252f2597b
commit
00f40a6d8a
2 changed files with 10 additions and 0 deletions
6
run_once_import_gpg_from_1password.sh.tmpl
Normal file
6
run_once_import_gpg_from_1password.sh.tmpl
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
{{ if findExecutable "op" (list "/usr/bin" "/usr/local/bin") }}
|
||||||
|
echo '{{ onepasswordDocument "gpg key" }}' | gpg --import
|
||||||
|
{{ else }}
|
||||||
|
echo "WARNING: 1password-cli has not been installed on your system. Your gpg key will not be imported."
|
||||||
|
{{ end }}
|
4
run_once_install_programs.sh.tmpl
Normal file
4
run_once_install_programs.sh.tmpl
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
{{- if eq .chezmoi.osRelease.id "fedora" }}
|
||||||
|
# TODO: Install programs
|
||||||
|
{{ end }}
|
Loading…
Reference in a new issue