1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_linux_desktop_setup.git synced 2024-09-14 19:54:51 +02:00
ansible_linux_desktop_setup/group_vars/all.yml

99 lines
2.4 KiB
YAML
Raw Normal View History

2020-11-29 22:38:53 +01:00
---
2020-12-16 17:35:28 +01:00
#
2024-04-10 15:31:24 +02:00
# l3d.users
# l3d.users.user
# -> define users
l3d_users__default_users:
- name: 'l3d'
state: 'present'
shell: '/bin/bash'
create_home: true
pubkeys: "{{ lookup('url', 'https://github.com/do1jlr.keys', split_lines=False) }}"
2024-05-24 11:14:27 +02:00
password: "{{ lookup('community.general.passwordstore', gopass_prefix + 'ansible/hosts/' + inventory_hostname + '/users/l3d/pwd_hash') }}"
2024-04-10 15:31:24 +02:00
exklusive_pubkeys: true
admin: true
admin_commands: 'ALL'
admin_nopassword: false
admin_ansible_login: true
2020-12-16 17:35:28 +01:00
#
2024-04-10 15:31:24 +02:00
# l3d.users
# l3d.users.user
# -> enable keychain as ssh agent
l3d_users__dotfiles__additional_user_bashrc_lines:
2021-03-17 15:53:17 +01:00
- '[[ $- == *i* ]] && eval $(keychain --eval --quiet id_ed25519)'
2021-03-11 21:42:35 +01:00
- '_gopass_bash_autocomplete() {'
- ' local cur opts base'
- ' COMPREPLY=()'
- ' cur="${COMP_WORDS[COMP_CWORD]}"'
- ' opts=$( ${COMP_WORDS[@]:0:$COMP_CWORD} --generate-bash-completion )'
- " local IFS=$'\n'"
- ' COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )'
- ' return 0'
- '}'
- 'complete -F _gopass_bash_autocomplete gopass'
2020-12-16 17:35:28 +01:00
# roles/authorized_keys
#
# define dir for ssh keys
ssh_public_key_store: 'admin_ssh_keys'
i3_keybindings_extra:
2021-03-11 21:52:51 +01:00
- keybinding:
name: Volume (mute/unmute)
key: $mod+F12
exec: --no-startup-id pulsemixer --toggle-mute
- keybinding:
name: Volue (default)
key: $mod+Shift+F12
exec: --no-startup-id pulsemixer --set-volume 42
- keybinding:
name: volume-up
key: XF86AudioRaiseVolume
exec: --no-startup-id pulsemixer --change-volume +3
- keybinding:
name: volume-down
key: XF86AudioLowerVolume
exec: --no-startup-id pulsemixer --change-volume -5
- keybinding:
name: darker
key: XF86AudioMute
exec: --no-startup-id pulsemixer --toggle-mute
- keybinding:
name: darker
key: XF86MonBrightnessDown
2024-05-24 11:14:27 +02:00
exec: --no-startup-id light -U 9
2021-03-11 21:52:51 +01:00
- keybinding:
name: lighter
key: XF86MonBrightnessUp
2024-05-24 11:14:27 +02:00
exec: --no-startup-id light -A 6
2020-12-16 17:35:28 +01:00
i3_applications:
2021-03-11 21:52:51 +01:00
- application:
class: "firefox"
name: "firefox"
workspace: 2
on_startup: true
- application:
class: "Thunderbird"
name: "thunderbird"
workspace: 9
on_startup: true
2020-12-16 17:35:28 +01:00
i3_run_on_startup:
2024-04-17 16:26:58 +02:00
- nm-applet
2020-12-16 17:35:28 +01:00
2023-07-31 23:12:00 +02:00
# roles/do1jlr.base
l3d_pkgs__install_advanced: true
l3d_pkgs__install_python: true
l3d_pkgs__install_cli: true
l3d_pkgs__install_extra_packages:
- keychain
2023-07-31 23:12:00 +02:00
2020-11-29 22:38:53 +01:00
# globaly enably simple versionscheck - if available
submodules_versioncheck: true
2024-04-16 14:39:30 +02:00
# gopass dir
gopass_prefix: ''