]> git.immae.eu Git - perso/Immae/Config/dotdrop.git/commitdiff
Add environment file to password store
authorIsmaël Bouya <ismael.bouya@fretlink.com>
Sat, 20 Oct 2018 15:33:21 +0000 (17:33 +0200)
committerIsmaël Bouya <ismael.bouya@fretlink.com>
Sat, 20 Oct 2018 15:38:47 +0000 (17:38 +0200)
config.yaml
dotfiles/password_store

index 3f4fcb0cd211667af70752581a3c9dd0609bb4e6..1c17123d7e67f5a49b032ada70829d8d10103c40 100644 (file)
@@ -1,6 +1,5 @@
 _comments:
   _need_help: Go see https://github.com/deadc0de6/dotdrop#config
-  _todo4: password store
 actions:
   post:
     make_exec: chmod a+x {0}
@@ -34,6 +33,11 @@ dotfiles:
     - make_pm2_dirs
     dst: ~/.config
     src: fretlink/config_files
+  fretlink_environment_file:
+    dst: ~/workdir/environment
+    src: password_store/Travail/Fretlink/Environment.gpg
+    trans:
+    - gpg
   fretlink_workdir_files:
     actions:
     - make_exec ~/workdir/start
@@ -116,6 +120,7 @@ profiles:
     - remind_0_service
     - remind_work
     - fretlink_config_files
+    - fretlink_environment_file
     - fretlink_workdir_files
     include:
     - _prog_haskell
@@ -163,6 +168,8 @@ profiles:
   init:
     dotfiles:
     - pam_environment
+trans:
+  gpg: gpg2 -q --for-your-eyes-only --no-tty -d {0} > {1}
 variables:
   features:
     flony:
index 08d8c4c5205c47b867c27da2d203337851d5290e..87c98fd57f606f4f886bd85b3cd705dafff1d3ef 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 08d8c4c5205c47b867c27da2d203337851d5290e
+Subproject commit 87c98fd57f606f4f886bd85b3cd705dafff1d3ef