From 04afb914a20e4dab4eef2c409a4f5630858c26d4 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Mon, 8 Aug 2022 15:09:20 -0400 Subject: [PATCH] FIX use correct keys for workstation --- dot_config/rofi/devices.dhall.tmpl | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/dot_config/rofi/devices.dhall.tmpl b/dot_config/rofi/devices.dhall.tmpl index a897069..00ada8a 100644 --- a/dot_config/rofi/devices.dhall.tmpl +++ b/dot_config/rofi/devices.dhall.tmpl @@ -7,9 +7,19 @@ let cryptdir = "~/.crypt" {{- end }} -let sshKey = "ssh" +let sshKey = +{{ if eq .features.rofi_alias "workstation" -}} + "ssh workstation" +{{- else -}} + "ssh" +{{- end }} -let gpgKey = "gpg" +let gpgKey = +{{ if eq .features.rofi_alias "workstation" -}} + "gpg workstation" +{{- else -}} + "gpg" +{{- end }} let bwConfig = \(k : Text) ->