Compare commits

...

4 Commits

Author SHA1 Message Date
903f6975fc alacritty: Fix config 2021-10-03 11:48:45 +02:00
Hannes Körber
284387581e Fix youcompleteme output file path 2021-10-03 11:34:53 +02:00
1e05fe61f0 Add new machine "mars" 2021-10-03 11:07:44 +02:00
9f4cebde56 Only use iptables hack on arch 2021-10-03 11:07:35 +02:00
6 changed files with 110 additions and 2 deletions

75
_machines/mars.yml Normal file
View File

@@ -0,0 +1,75 @@
font_size: 11
letter_space: 0
terminal_binary: alacritty
users:
- name: hannes-work
group: hannes-work
vt: 1
firefox_profiles:
- name: default
manage_css: true
- name: meet
manage_css: false
mail: hannes.koerber@tradebyte.com
git_gpg_sign: false
gpg_agent: false
gpg_agent_for_ssh: false
environment:
MACHINE_HAS_NEXTCLOUD: "false"
MACHINE_HAS_RESTIC_BACKUP: "true"
MACHINE_HAS_ELEMENT: "false"
MACHINE_HAS_KEEPASSX: "true"
has_yubikey: false
- name: hannes-private
group: hannes-private
vt: 2
firefox_profiles:
- name: default
manage_css: true
mail: hannes@hkoerber.de
git_gpg_sign: false
gpg_agent: true
gpg_agent_for_ssh: true
gpg_key:
email: hannes@hkoerber.de
id: "0xB5C002530C6A2053"
fingerprint: "973AE48D71B76735C4712B5BB5C002530C6A2053"
enable_passwordstore: true
environment:
MACHINE_HAS_NEXTCLOUD: "true"
MACHINE_HAS_RESTIC_BACKUP: "false"
MACHINE_HAS_ELEMENT: "true"
MACHINE_HAS_KEEPASSX: "false"
has_yubikey: true
screen:
1: DP-1-1
2: DP-1-1
3: DP-1-2
4: DP-1-2
5: DP-1-2
6: DP-1-2
7: eDP-1
8: eDP-1
9: eDP-1
0: eDP-1
workspace:
1: www
2: www
3: term-local
4: term-remote
7: comm
8: pass
9: music
10: pim
screencfgs:
- name: three-screens
key: F3
environment:
MACHINE_TYPE: "laptop"
MACHINE_RESOLUTION_X: "1920"
MACHINE_RESOLUTION_Y: "1080"

View File

@@ -14,7 +14,7 @@
# Any items in the `env` entry below will be added as # Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables # environment variables. Some entries may override variables
# set by alacritty itself. # set by alacritty itself.
#env: env:
# TERM variable # TERM variable
# #
# This value is used to set the `$TERM` environment variable for # This value is used to set the `$TERM` environment variable for

View File

@@ -152,6 +152,7 @@
- name: force-update iptables to iptables-nft on arch - name: force-update iptables to iptables-nft on arch
shell: pacman -Q iptables-nft || yes | pacman -S iptables-nft shell: pacman -Q iptables-nft || yes | pacman -S iptables-nft
changed_when: false changed_when: false
when: distro == 'archlinux'
- set_fact: - set_fact:
defined_packages: "{{ packages|json_query('keys(list)') }}" defined_packages: "{{ packages|json_query('keys(list)') }}"

View File

@@ -0,0 +1,14 @@
reset: false
outputs:
- name: eDP-1
primary: True
opts:
mode: 1920x1080
scale: 1x1
pos: "0x0" # beware of hex
- name: DP-1-1
disable: true
- name: DP-1-2
disable: true
- name: DP-1-3
disable: true

View File

@@ -0,0 +1,18 @@
reset: true
outputs:
- name: eDP-1
opts:
mode: 1920x1080
scale: 0.7x0.7
pos: "0x0" # beware of hex
- name: DP-3
primary: True
opts:
mode: 1920x1080
right-of: eDP-1
reset: true
- name: DP-4
opts:
mode: 1920x1080
right-of: DP-3
reset: true

View File

@@ -316,7 +316,7 @@
cd ~/.local/share/nvim/plugged/YouCompleteMe/ cd ~/.local/share/nvim/plugged/YouCompleteMe/
python3 ./install.py --force-sudo python3 ./install.py --force-sudo
args: args:
creates: "{{ lookup('fileglob', '~/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/ycm_core.*so') }}" creates: '~/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/ycm_core.cpython-38-x86_64-linux-gnu.so'
- block: - block:
- name: firefox - create chrome directory - name: firefox - create chrome directory