Enable yubikey-touch-detector conditionally
This commit is contained in:
@@ -18,6 +18,7 @@ users:
|
|||||||
master_key: "0xB5C002530C6A2053"
|
master_key: "0xB5C002530C6A2053"
|
||||||
environment:
|
environment:
|
||||||
MACHINE_HAS_NEXTCLOUD: "true"
|
MACHINE_HAS_NEXTCLOUD: "true"
|
||||||
|
has_yubikey: true
|
||||||
|
|
||||||
screen:
|
screen:
|
||||||
1: DisplayPort-0
|
1: DisplayPort-0
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ users:
|
|||||||
MACHINE_HAS_NEXTCLOUD: "false"
|
MACHINE_HAS_NEXTCLOUD: "false"
|
||||||
MACHINE_HAS_RESTIC_BACKUP: "true"
|
MACHINE_HAS_RESTIC_BACKUP: "true"
|
||||||
MACHINE_HAS_ELEMENT: "false"
|
MACHINE_HAS_ELEMENT: "false"
|
||||||
|
has_yubikey: false
|
||||||
- name: hannes-private
|
- name: hannes-private
|
||||||
group: tpp
|
group: tpp
|
||||||
vt: 2
|
vt: 2
|
||||||
@@ -30,6 +31,7 @@ users:
|
|||||||
MACHINE_HAS_NEXTCLOUD: "true"
|
MACHINE_HAS_NEXTCLOUD: "true"
|
||||||
MACHINE_HAS_RESTIC_BACKUP: "false"
|
MACHINE_HAS_RESTIC_BACKUP: "false"
|
||||||
MACHINE_HAS_ELEMENT: "true"
|
MACHINE_HAS_ELEMENT: "true"
|
||||||
|
has_yubikey: true
|
||||||
|
|
||||||
screen:
|
screen:
|
||||||
1: DP-1-1
|
1: DP-1-1
|
||||||
|
|||||||
@@ -20,7 +20,9 @@ general {
|
|||||||
|
|
||||||
|
|
||||||
order += spotify
|
order += spotify
|
||||||
|
{% if user.has_yubikey %}
|
||||||
order += "yubikey"
|
order += "yubikey"
|
||||||
|
{% endif %}
|
||||||
order += "volume_status output"
|
order += "volume_status output"
|
||||||
order += "volume_status input"
|
order += "volume_status input"
|
||||||
order += "wifi"
|
order += "wifi"
|
||||||
|
|||||||
Reference in New Issue
Block a user