Compare commits
4 Commits
86ecfd1c54
...
60e440b0c6
Author | SHA1 | Date | |
---|---|---|---|
![]() |
60e440b0c6 | ||
![]() |
06fc236f0a | ||
![]() |
1cad73e68f | ||
![]() |
a1ab3327ee |
@ -45,6 +45,7 @@
|
|||||||
- poudriere
|
- poudriere
|
||||||
- android
|
- android
|
||||||
- latex
|
- latex
|
||||||
|
- python
|
||||||
- pyenv
|
- pyenv
|
||||||
- webcam
|
- webcam
|
||||||
- docker
|
- docker
|
||||||
@ -53,6 +54,7 @@
|
|||||||
- launch_keyboard
|
- launch_keyboard
|
||||||
- lvfs
|
- lvfs
|
||||||
- restaurant_health_rating
|
- restaurant_health_rating
|
||||||
|
- wasm
|
||||||
|
|
||||||
- hosts: nat_dhcp:homeserver_nat_dhcp:mrmanager_nat_dhcp
|
- hosts: nat_dhcp:homeserver_nat_dhcp:mrmanager_nat_dhcp
|
||||||
vars:
|
vars:
|
||||||
|
44
ansible/roles/alacritty/files/alacritty.toml
Normal file
44
ansible/roles/alacritty/files/alacritty.toml
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
[colors]
|
||||||
|
draw_bold_text_with_bright_colors = true
|
||||||
|
indexed_colors = []
|
||||||
|
|
||||||
|
[colors.bright]
|
||||||
|
black = "0x666666"
|
||||||
|
blue = "0x7aa6da"
|
||||||
|
cyan = "0x54ced6"
|
||||||
|
green = "0x9ec400"
|
||||||
|
magenta = "0xb77ee0"
|
||||||
|
red = "0xff3334"
|
||||||
|
white = "0xffffff"
|
||||||
|
yellow = "0xe7c547"
|
||||||
|
|
||||||
|
[colors.normal]
|
||||||
|
black = "0x000000"
|
||||||
|
blue = "0x7aa6da"
|
||||||
|
cyan = "0x70c0ba"
|
||||||
|
green = "0xb9ca4a"
|
||||||
|
magenta = "0xc397d8"
|
||||||
|
red = "0xd54e53"
|
||||||
|
white = "0xeaeaea"
|
||||||
|
yellow = "0xe6c547"
|
||||||
|
|
||||||
|
[colors.primary]
|
||||||
|
background = "0x000000"
|
||||||
|
foreground = "0xeaeaea"
|
||||||
|
|
||||||
|
[font]
|
||||||
|
size = 11.0
|
||||||
|
|
||||||
|
[[hints.enabled]]
|
||||||
|
command = "xdg-open"
|
||||||
|
post_processing = true
|
||||||
|
regex = "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-<>\"\\s{-}\\^⟨⟩`]+"
|
||||||
|
|
||||||
|
[hints.enabled.mouse]
|
||||||
|
enabled = false
|
||||||
|
mods = "None"
|
||||||
|
|
||||||
|
[scrolling]
|
||||||
|
history = 10000
|
||||||
|
# Lines moved per scroll.
|
||||||
|
multiplier = 3
|
@ -1,103 +0,0 @@
|
|||||||
# If `true`, bold text is drawn using the bright color variants.
|
|
||||||
draw_bold_text_with_bright_colors: true
|
|
||||||
|
|
||||||
colors:
|
|
||||||
# Default colors
|
|
||||||
primary:
|
|
||||||
background: "0x000000"
|
|
||||||
foreground: "0xeaeaea"
|
|
||||||
|
|
||||||
# Bright and dim foreground colors
|
|
||||||
#
|
|
||||||
# The dimmed foreground color is calculated automatically if it is not present.
|
|
||||||
# If the bright foreground color is not set, or `draw_bold_text_with_bright_colors`
|
|
||||||
# is `false`, the normal foreground color will be used.
|
|
||||||
#dim_foreground: '0x9a9a9a'
|
|
||||||
#bright_foreground: '0xffffff'
|
|
||||||
|
|
||||||
# Cursor colors
|
|
||||||
#
|
|
||||||
# Colors which should be used to draw the terminal cursor. If these are unset,
|
|
||||||
# the cursor color will be the inverse of the cell color.
|
|
||||||
#cursor:
|
|
||||||
# text: '0x000000'
|
|
||||||
# cursor: '0xffffff'
|
|
||||||
|
|
||||||
# Selection colors
|
|
||||||
#
|
|
||||||
# Colors which should be used to draw the selection area. If selection
|
|
||||||
# background is unset, selection color will be the inverse of the cell colors.
|
|
||||||
# If only text is unset the cell text color will remain the same.
|
|
||||||
#selection:
|
|
||||||
# text: '0xeaeaea'
|
|
||||||
# background: '0x404040'
|
|
||||||
|
|
||||||
# Normal colors
|
|
||||||
normal:
|
|
||||||
black: "0x000000"
|
|
||||||
red: "0xd54e53"
|
|
||||||
green: "0xb9ca4a"
|
|
||||||
yellow: "0xe6c547"
|
|
||||||
blue: "0x7aa6da"
|
|
||||||
magenta: "0xc397d8"
|
|
||||||
cyan: "0x70c0ba"
|
|
||||||
white: "0xeaeaea"
|
|
||||||
|
|
||||||
# Bright colors
|
|
||||||
bright:
|
|
||||||
black: "0x666666"
|
|
||||||
red: "0xff3334"
|
|
||||||
green: "0x9ec400"
|
|
||||||
yellow: "0xe7c547"
|
|
||||||
blue: "0x7aa6da"
|
|
||||||
magenta: "0xb77ee0"
|
|
||||||
cyan: "0x54ced6"
|
|
||||||
white: "0xffffff"
|
|
||||||
|
|
||||||
# Dim colors
|
|
||||||
#
|
|
||||||
# If the dim colors are not set, they will be calculated automatically based
|
|
||||||
# on the `normal` colors.
|
|
||||||
#dim:
|
|
||||||
# black: '0x000000'
|
|
||||||
# red: '0x8c3336'
|
|
||||||
# green: '0x7a8530'
|
|
||||||
# yellow: '0x97822e'
|
|
||||||
# blue: '0x506d8f'
|
|
||||||
# magenta: '0x80638e'
|
|
||||||
# cyan: '0x497e7a'
|
|
||||||
# white: '0x9a9a9a'
|
|
||||||
|
|
||||||
# Indexed Colors
|
|
||||||
#
|
|
||||||
# The indexed colors include all colors from 16 to 256.
|
|
||||||
# When these are not set, they're filled with sensible defaults.
|
|
||||||
#
|
|
||||||
# Example:
|
|
||||||
# `- { index: 16, color: '0xff00ff' }`
|
|
||||||
#
|
|
||||||
indexed_colors: []
|
|
||||||
|
|
||||||
scrolling:
|
|
||||||
# Maximum number of lines in the scrollback buffer.
|
|
||||||
# Specifying '0' will disable scrolling.
|
|
||||||
history: 10000
|
|
||||||
|
|
||||||
# Number of lines the viewport will move for every line scrolled when
|
|
||||||
# scrollback is enabled (history > 0).
|
|
||||||
multiplier: 3
|
|
||||||
|
|
||||||
font:
|
|
||||||
size: 11.0
|
|
||||||
|
|
||||||
hints:
|
|
||||||
enabled:
|
|
||||||
# Disable opening links when clicked
|
|
||||||
- regex:
|
|
||||||
"(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\
|
|
||||||
[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
|
|
||||||
command: xdg-open
|
|
||||||
post_processing: true
|
|
||||||
mouse:
|
|
||||||
enabled: false
|
|
||||||
mods: None
|
|
@ -19,8 +19,8 @@
|
|||||||
owner: "{{ account_name.stdout }}"
|
owner: "{{ account_name.stdout }}"
|
||||||
group: "{{ group_name.stdout }}"
|
group: "{{ group_name.stdout }}"
|
||||||
loop:
|
loop:
|
||||||
- src: alacritty.yml
|
- src: alacritty.toml
|
||||||
dest: .config/alacritty/alacritty.yml
|
dest: .config/alacritty/alacritty.toml
|
||||||
|
|
||||||
- import_tasks: tasks/peruser_freebsd.yaml
|
- import_tasks: tasks/peruser_freebsd.yaml
|
||||||
when: 'os_flavor == "freebsd"'
|
when: 'os_flavor == "freebsd"'
|
||||||
|
@ -3,3 +3,5 @@ dependencies:
|
|||||||
- fonts
|
- fonts
|
||||||
- role: rust
|
- role: rust
|
||||||
when: 'emacs_flavor == "full"'
|
when: 'emacs_flavor == "full"'
|
||||||
|
- role: python
|
||||||
|
when: 'emacs_flavor == "full"'
|
||||||
|
642
ansible/roles/launch_keyboard/files/launch_keyboard_layout.json
Normal file
642
ansible/roles/launch_keyboard/files/launch_keyboard_layout.json
Normal file
@ -0,0 +1,642 @@
|
|||||||
|
{
|
||||||
|
"model": "system76/launch_2",
|
||||||
|
"version": 1,
|
||||||
|
"map": {
|
||||||
|
"K00": [
|
||||||
|
"ESC",
|
||||||
|
"RESET",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K01": [
|
||||||
|
"F1",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K02": [
|
||||||
|
"F2",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K03": [
|
||||||
|
"F3",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K04": [
|
||||||
|
"F4",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K05": [
|
||||||
|
"F5",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K06": [
|
||||||
|
"F6",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K07": [
|
||||||
|
"F7",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K08": [
|
||||||
|
"F8",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K09": [
|
||||||
|
"F9",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K0A": [
|
||||||
|
"F10",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K0B": [
|
||||||
|
"F11",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K0C": [
|
||||||
|
"F12",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K0D": [
|
||||||
|
"DEL",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K0E": [
|
||||||
|
"HOME",
|
||||||
|
"PLAY_PAUSE",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K10": [
|
||||||
|
"TICK",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K11": [
|
||||||
|
"1",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K12": [
|
||||||
|
"2",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K13": [
|
||||||
|
"3",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K14": [
|
||||||
|
"4",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K15": [
|
||||||
|
"5",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K16": [
|
||||||
|
"6",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K17": [
|
||||||
|
"7",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K18": [
|
||||||
|
"8",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K19": [
|
||||||
|
"9",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K1A": [
|
||||||
|
"0",
|
||||||
|
"KBD_TOGGLE",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K1B": [
|
||||||
|
"MINUS",
|
||||||
|
"KBD_DOWN",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K1C": [
|
||||||
|
"EQUALS",
|
||||||
|
"KBD_UP",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K1D": [
|
||||||
|
"BKSP",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K1E": [
|
||||||
|
"PGUP",
|
||||||
|
"VOLUME_UP",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K20": [
|
||||||
|
"TAB",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K21": [
|
||||||
|
"Q",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K22": [
|
||||||
|
"W",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K23": [
|
||||||
|
"E",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K24": [
|
||||||
|
"R",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K25": [
|
||||||
|
"T",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K26": [
|
||||||
|
"Y",
|
||||||
|
"HOME",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K27": [
|
||||||
|
"U",
|
||||||
|
"PGDN",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K28": [
|
||||||
|
"I",
|
||||||
|
"PGUP",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K29": [
|
||||||
|
"O",
|
||||||
|
"END",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K2A": [
|
||||||
|
"P",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K2B": [
|
||||||
|
"BRACE_OPEN",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K2C": [
|
||||||
|
"BRACE_CLOSE",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K2D": [
|
||||||
|
"BACKSLASH",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K2E": [
|
||||||
|
"PGDN",
|
||||||
|
"VOLUME_DOWN",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K30": [
|
||||||
|
"CAPS",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K31": [
|
||||||
|
"A",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K32": [
|
||||||
|
"S",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K33": [
|
||||||
|
"D",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K34": [
|
||||||
|
"F",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K35": [
|
||||||
|
"G",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K36": [
|
||||||
|
"H",
|
||||||
|
"LEFT",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K37": [
|
||||||
|
"J",
|
||||||
|
"DOWN",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K38": [
|
||||||
|
"K",
|
||||||
|
"UP",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K39": [
|
||||||
|
"L",
|
||||||
|
"RIGHT",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K3A": [
|
||||||
|
"SEMICOLON",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K3B": [
|
||||||
|
"QUOTE",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K3C": [
|
||||||
|
"ENTER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K3D": [
|
||||||
|
"END",
|
||||||
|
"MUTE",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K40": [
|
||||||
|
"LEFT_SHIFT",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K41": [
|
||||||
|
"Z",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K42": [
|
||||||
|
"X",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K43": [
|
||||||
|
"C",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K44": [
|
||||||
|
"V",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K45": [
|
||||||
|
"B",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K46": [
|
||||||
|
"N",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K47": [
|
||||||
|
"M",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K48": [
|
||||||
|
"COMMA",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K49": [
|
||||||
|
"PERIOD",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K4A": [
|
||||||
|
"SLASH",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K4B": [
|
||||||
|
"RIGHT_SHIFT",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K4C": [
|
||||||
|
"UP",
|
||||||
|
"PGUP",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K50": [
|
||||||
|
"LEFT_CTRL",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K51": [
|
||||||
|
"LEFT_SUPER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K52": [
|
||||||
|
"LEFT_ALT",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K53": [
|
||||||
|
"FN",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K54": [
|
||||||
|
"SPACE",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K55": [
|
||||||
|
"SPACE",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K56": [
|
||||||
|
"RIGHT_CTRL",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K57": [
|
||||||
|
"RIGHT_ALT",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K58": [
|
||||||
|
"PRINT_SCREEN",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K59": [
|
||||||
|
"LEFT",
|
||||||
|
"HOME",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K5A": [
|
||||||
|
"DOWN",
|
||||||
|
"PGDN",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
],
|
||||||
|
"K5B": [
|
||||||
|
"RIGHT",
|
||||||
|
"END",
|
||||||
|
"ROLL_OVER",
|
||||||
|
"ROLL_OVER"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"key_leds": {
|
||||||
|
"K00": null,
|
||||||
|
"K01": null,
|
||||||
|
"K02": null,
|
||||||
|
"K03": null,
|
||||||
|
"K04": null,
|
||||||
|
"K05": null,
|
||||||
|
"K06": null,
|
||||||
|
"K07": null,
|
||||||
|
"K08": null,
|
||||||
|
"K09": null,
|
||||||
|
"K0A": null,
|
||||||
|
"K0B": null,
|
||||||
|
"K0C": null,
|
||||||
|
"K0D": null,
|
||||||
|
"K0E": null,
|
||||||
|
"K10": null,
|
||||||
|
"K11": null,
|
||||||
|
"K12": null,
|
||||||
|
"K13": null,
|
||||||
|
"K14": null,
|
||||||
|
"K15": null,
|
||||||
|
"K16": null,
|
||||||
|
"K17": null,
|
||||||
|
"K18": null,
|
||||||
|
"K19": null,
|
||||||
|
"K1A": null,
|
||||||
|
"K1B": null,
|
||||||
|
"K1C": null,
|
||||||
|
"K1D": null,
|
||||||
|
"K1E": null,
|
||||||
|
"K20": null,
|
||||||
|
"K21": null,
|
||||||
|
"K22": null,
|
||||||
|
"K23": null,
|
||||||
|
"K24": null,
|
||||||
|
"K25": null,
|
||||||
|
"K26": null,
|
||||||
|
"K27": null,
|
||||||
|
"K28": null,
|
||||||
|
"K29": null,
|
||||||
|
"K2A": null,
|
||||||
|
"K2B": null,
|
||||||
|
"K2C": null,
|
||||||
|
"K2D": null,
|
||||||
|
"K2E": null,
|
||||||
|
"K30": null,
|
||||||
|
"K31": null,
|
||||||
|
"K32": null,
|
||||||
|
"K33": null,
|
||||||
|
"K34": null,
|
||||||
|
"K35": null,
|
||||||
|
"K36": null,
|
||||||
|
"K37": null,
|
||||||
|
"K38": null,
|
||||||
|
"K39": null,
|
||||||
|
"K3A": null,
|
||||||
|
"K3B": null,
|
||||||
|
"K3C": null,
|
||||||
|
"K3D": null,
|
||||||
|
"K40": null,
|
||||||
|
"K41": null,
|
||||||
|
"K42": null,
|
||||||
|
"K43": null,
|
||||||
|
"K44": null,
|
||||||
|
"K45": null,
|
||||||
|
"K46": null,
|
||||||
|
"K47": null,
|
||||||
|
"K48": null,
|
||||||
|
"K49": null,
|
||||||
|
"K4A": null,
|
||||||
|
"K4B": null,
|
||||||
|
"K4C": null,
|
||||||
|
"K50": null,
|
||||||
|
"K51": null,
|
||||||
|
"K52": null,
|
||||||
|
"K53": null,
|
||||||
|
"K54": null,
|
||||||
|
"K55": null,
|
||||||
|
"K56": null,
|
||||||
|
"K57": null,
|
||||||
|
"K58": null,
|
||||||
|
"K59": null,
|
||||||
|
"K5A": null,
|
||||||
|
"K5B": null
|
||||||
|
},
|
||||||
|
"layers": [
|
||||||
|
{
|
||||||
|
"mode": [
|
||||||
|
7,
|
||||||
|
127
|
||||||
|
],
|
||||||
|
"brightness": 135,
|
||||||
|
"color": [
|
||||||
|
142,
|
||||||
|
255
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mode": [
|
||||||
|
13,
|
||||||
|
127
|
||||||
|
],
|
||||||
|
"brightness": 135,
|
||||||
|
"color": [
|
||||||
|
142,
|
||||||
|
255
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mode": [
|
||||||
|
13,
|
||||||
|
127
|
||||||
|
],
|
||||||
|
"brightness": 135,
|
||||||
|
"color": [
|
||||||
|
142,
|
||||||
|
255
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mode": [
|
||||||
|
13,
|
||||||
|
127
|
||||||
|
],
|
||||||
|
"brightness": 135,
|
||||||
|
"color": [
|
||||||
|
142,
|
||||||
|
255
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -36,5 +36,5 @@
|
|||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
loop:
|
loop:
|
||||||
- iwd.service
|
- iwd.service
|
||||||
- systemd-networkd.service
|
# - systemd-networkd.service
|
||||||
- systemd-resolved.service
|
- systemd-resolved.service
|
||||||
|
2
ansible/roles/python/meta/main.yaml
Normal file
2
ansible/roles/python/meta/main.yaml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
dependencies:
|
||||||
|
- pyenv
|
55
ansible/roles/python/tasks/common.yaml
Normal file
55
ansible/roles/python/tasks/common.yaml
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
# - name: Create directories
|
||||||
|
# file:
|
||||||
|
# name: "{{ item }}"
|
||||||
|
# state: directory
|
||||||
|
# mode: 0755
|
||||||
|
# owner: root
|
||||||
|
# group: wheel
|
||||||
|
# loop:
|
||||||
|
# - /foo/bar
|
||||||
|
|
||||||
|
# - name: Install scripts
|
||||||
|
# copy:
|
||||||
|
# src: "files/{{ item.src }}"
|
||||||
|
# dest: "{{ item.dest }}"
|
||||||
|
# mode: 0755
|
||||||
|
# owner: root
|
||||||
|
# group: wheel
|
||||||
|
# loop:
|
||||||
|
# - src: foo.bash
|
||||||
|
# dest: /usr/local/bin/foo
|
||||||
|
|
||||||
|
# - name: Install Configuration
|
||||||
|
# copy:
|
||||||
|
# src: "files/{{ item.src }}"
|
||||||
|
# dest: "{{ item.dest }}"
|
||||||
|
# mode: 0600
|
||||||
|
# owner: root
|
||||||
|
# group: wheel
|
||||||
|
# loop:
|
||||||
|
# - src: foo.conf
|
||||||
|
# dest: /usr/local/etc/foo.conf
|
||||||
|
|
||||||
|
# - name: Clone Source
|
||||||
|
# git:
|
||||||
|
# repo: "https://foo.bar/baz.git"
|
||||||
|
# dest: /foo/bar
|
||||||
|
# version: "v1.0.2"
|
||||||
|
# force: true
|
||||||
|
# diff: false
|
||||||
|
|
||||||
|
- import_tasks: tasks/freebsd.yaml
|
||||||
|
when: 'os_flavor == "freebsd"'
|
||||||
|
|
||||||
|
- import_tasks: tasks/linux.yaml
|
||||||
|
when: 'os_flavor == "linux"'
|
||||||
|
|
||||||
|
- include_tasks:
|
||||||
|
file: tasks/peruser.yaml
|
||||||
|
apply:
|
||||||
|
become: yes
|
||||||
|
become_user: "{{ initialize_user }}"
|
||||||
|
when: users is defined
|
||||||
|
loop: "{{ users | dict2items | community.general.json_query('[?value.initialize==`true`].key') }}"
|
||||||
|
loop_control:
|
||||||
|
loop_var: initialize_user
|
5
ansible/roles/python/tasks/freebsd.yaml
Normal file
5
ansible/roles/python/tasks/freebsd.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# - name: Install packages
|
||||||
|
# package:
|
||||||
|
# name:
|
||||||
|
# - foo
|
||||||
|
# state: present
|
6
ansible/roles/python/tasks/linux.yaml
Normal file
6
ansible/roles/python/tasks/linux.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
- name: Install packages
|
||||||
|
package:
|
||||||
|
name:
|
||||||
|
- python
|
||||||
|
- python-poetry
|
||||||
|
state: present
|
2
ansible/roles/python/tasks/main.yaml
Normal file
2
ansible/roles/python/tasks/main.yaml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
- import_tasks: tasks/common.yaml
|
||||||
|
# when: foo is defined
|
29
ansible/roles/python/tasks/peruser.yaml
Normal file
29
ansible/roles/python/tasks/peruser.yaml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
- include_role:
|
||||||
|
name: per_user
|
||||||
|
|
||||||
|
# - name: Create directories
|
||||||
|
# file:
|
||||||
|
# name: "{{ account_homedir.stdout }}/{{ item }}"
|
||||||
|
# state: directory
|
||||||
|
# mode: 0700
|
||||||
|
# owner: "{{ account_name.stdout }}"
|
||||||
|
# group: "{{ group_name.stdout }}"
|
||||||
|
# loop:
|
||||||
|
# - ".config/foo"
|
||||||
|
|
||||||
|
# - name: Copy files
|
||||||
|
# copy:
|
||||||
|
# src: "files/{{ item.src }}"
|
||||||
|
# dest: "{{ account_homedir.stdout }}/{{ item.dest }}"
|
||||||
|
# mode: 0600
|
||||||
|
# owner: "{{ account_name.stdout }}"
|
||||||
|
# group: "{{ group_name.stdout }}"
|
||||||
|
# loop:
|
||||||
|
# - src: foo.conf
|
||||||
|
# dest: .config/foo/foo.conf
|
||||||
|
|
||||||
|
- import_tasks: tasks/peruser_freebsd.yaml
|
||||||
|
when: 'os_flavor == "freebsd"'
|
||||||
|
|
||||||
|
- import_tasks: tasks/peruser_linux.yaml
|
||||||
|
when: 'os_flavor == "linux"'
|
0
ansible/roles/python/tasks/peruser_freebsd.yaml
Normal file
0
ansible/roles/python/tasks/peruser_freebsd.yaml
Normal file
0
ansible/roles/python/tasks/peruser_linux.yaml
Normal file
0
ansible/roles/python/tasks/peruser_linux.yaml
Normal file
@ -3,10 +3,13 @@
|
|||||||
args:
|
args:
|
||||||
creates: "{{ account_homedir.stdout }}/.rustup/toolchains/nightly-{{ rust_date }}-x86_64-unknown-linux-gnu"
|
creates: "{{ account_homedir.stdout }}/.rustup/toolchains/nightly-{{ rust_date }}-x86_64-unknown-linux-gnu"
|
||||||
|
|
||||||
- name: Install the musl target
|
- name: Install targets
|
||||||
command: rustup target add x86_64-unknown-linux-musl
|
command: rustup target add "{{ item }}"
|
||||||
args:
|
args:
|
||||||
creates: "{{ account_homedir.stdout }}/.rustup/toolchains/nightly-{{ rust_date }}-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-musl"
|
creates: "{{ account_homedir.stdout }}/.rustup/toolchains/nightly-{{ rust_date }}-x86_64-unknown-linux-gnu/lib/rustlib/{{ item }}"
|
||||||
|
loop:
|
||||||
|
- x86_64-unknown-linux-musl
|
||||||
|
- wasm32-unknown-unknown
|
||||||
|
|
||||||
# Needed by rust-analyzer (rust-analyzer will attempt to install via rustup on its own, but this will install it manually).
|
# Needed by rust-analyzer (rust-analyzer will attempt to install via rustup on its own, but this will install it manually).
|
||||||
- name: Install the nightly rust-src
|
- name: Install the nightly rust-src
|
||||||
|
55
ansible/roles/wasm/tasks/common.yaml
Normal file
55
ansible/roles/wasm/tasks/common.yaml
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
# - name: Create directories
|
||||||
|
# file:
|
||||||
|
# name: "{{ item }}"
|
||||||
|
# state: directory
|
||||||
|
# mode: 0755
|
||||||
|
# owner: root
|
||||||
|
# group: wheel
|
||||||
|
# loop:
|
||||||
|
# - /foo/bar
|
||||||
|
|
||||||
|
# - name: Install scripts
|
||||||
|
# copy:
|
||||||
|
# src: "files/{{ item.src }}"
|
||||||
|
# dest: "{{ item.dest }}"
|
||||||
|
# mode: 0755
|
||||||
|
# owner: root
|
||||||
|
# group: wheel
|
||||||
|
# loop:
|
||||||
|
# - src: foo.bash
|
||||||
|
# dest: /usr/local/bin/foo
|
||||||
|
|
||||||
|
# - name: Install Configuration
|
||||||
|
# copy:
|
||||||
|
# src: "files/{{ item.src }}"
|
||||||
|
# dest: "{{ item.dest }}"
|
||||||
|
# mode: 0600
|
||||||
|
# owner: root
|
||||||
|
# group: wheel
|
||||||
|
# loop:
|
||||||
|
# - src: foo.conf
|
||||||
|
# dest: /usr/local/etc/foo.conf
|
||||||
|
|
||||||
|
# - name: Clone Source
|
||||||
|
# git:
|
||||||
|
# repo: "https://foo.bar/baz.git"
|
||||||
|
# dest: /foo/bar
|
||||||
|
# version: "v1.0.2"
|
||||||
|
# force: true
|
||||||
|
# diff: false
|
||||||
|
|
||||||
|
- import_tasks: tasks/freebsd.yaml
|
||||||
|
when: 'os_flavor == "freebsd"'
|
||||||
|
|
||||||
|
- import_tasks: tasks/linux.yaml
|
||||||
|
when: 'os_flavor == "linux"'
|
||||||
|
|
||||||
|
- include_tasks:
|
||||||
|
file: tasks/peruser.yaml
|
||||||
|
apply:
|
||||||
|
become: yes
|
||||||
|
become_user: "{{ initialize_user }}"
|
||||||
|
when: users is defined
|
||||||
|
loop: "{{ users | dict2items | community.general.json_query('[?value.initialize==`true`].key') }}"
|
||||||
|
loop_control:
|
||||||
|
loop_var: initialize_user
|
5
ansible/roles/wasm/tasks/freebsd.yaml
Normal file
5
ansible/roles/wasm/tasks/freebsd.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# - name: Install packages
|
||||||
|
# package:
|
||||||
|
# name:
|
||||||
|
# - foo
|
||||||
|
# state: present
|
7
ansible/roles/wasm/tasks/linux.yaml
Normal file
7
ansible/roles/wasm/tasks/linux.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
- name: Install packages
|
||||||
|
package:
|
||||||
|
name:
|
||||||
|
- wabt
|
||||||
|
- wasm-bindgen
|
||||||
|
- binaryen # for wasm-opt
|
||||||
|
state: present
|
2
ansible/roles/wasm/tasks/main.yaml
Normal file
2
ansible/roles/wasm/tasks/main.yaml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
- import_tasks: tasks/common.yaml
|
||||||
|
# when: foo is defined
|
29
ansible/roles/wasm/tasks/peruser.yaml
Normal file
29
ansible/roles/wasm/tasks/peruser.yaml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
- include_role:
|
||||||
|
name: per_user
|
||||||
|
|
||||||
|
# - name: Create directories
|
||||||
|
# file:
|
||||||
|
# name: "{{ account_homedir.stdout }}/{{ item }}"
|
||||||
|
# state: directory
|
||||||
|
# mode: 0700
|
||||||
|
# owner: "{{ account_name.stdout }}"
|
||||||
|
# group: "{{ group_name.stdout }}"
|
||||||
|
# loop:
|
||||||
|
# - ".config/foo"
|
||||||
|
|
||||||
|
# - name: Copy files
|
||||||
|
# copy:
|
||||||
|
# src: "files/{{ item.src }}"
|
||||||
|
# dest: "{{ account_homedir.stdout }}/{{ item.dest }}"
|
||||||
|
# mode: 0600
|
||||||
|
# owner: "{{ account_name.stdout }}"
|
||||||
|
# group: "{{ group_name.stdout }}"
|
||||||
|
# loop:
|
||||||
|
# - src: foo.conf
|
||||||
|
# dest: .config/foo/foo.conf
|
||||||
|
|
||||||
|
- import_tasks: tasks/peruser_freebsd.yaml
|
||||||
|
when: 'os_flavor == "freebsd"'
|
||||||
|
|
||||||
|
- import_tasks: tasks/peruser_linux.yaml
|
||||||
|
when: 'os_flavor == "linux"'
|
0
ansible/roles/wasm/tasks/peruser_freebsd.yaml
Normal file
0
ansible/roles/wasm/tasks/peruser_freebsd.yaml
Normal file
0
ansible/roles/wasm/tasks/peruser_linux.yaml
Normal file
0
ansible/roles/wasm/tasks/peruser_linux.yaml
Normal file
Loading…
x
Reference in New Issue
Block a user