summaryrefslogtreecommitdiffstatshomepage
path: root/wsl/.config/alacritty/local.yml
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-08-04 13:57:50 -0500
committerToby Vincent <tobyv13@gmail.com>2022-08-04 13:57:50 -0500
commit0e3004446824a4c923b5c494ff331dad2dc455d3 (patch)
treec7ef404180bf70e7dfe8f3bf473e488d59a0554e /wsl/.config/alacritty/local.yml
parent434247aed59ef631f4175b137cb47c9513423271 (diff)
feat(wsl): add systemd (via distrod) and yubikey (via usbipd-win)
Diffstat (limited to 'wsl/.config/alacritty/local.yml')
-rw-r--r--wsl/.config/alacritty/local.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/wsl/.config/alacritty/local.yml b/wsl/.config/alacritty/local.yml
index d53da7b..c0df2a8 100644
--- a/wsl/.config/alacritty/local.yml
+++ b/wsl/.config/alacritty/local.yml
@@ -1,7 +1,12 @@
shell:
program: C:\WINDOWS\system32\wsl.exe
args:
- - "tmux new -As home"
+ - "--user"
+ - "root"
+ # there is a bug that requires launching twice (the first one starts the bus)
+ # Related-Bug: https://github.com/nullpo-head/wsl-distrod/issues/13
+ # Related-Bug: https://github.com/sarim/gbash#known-issue
+ - "systemd-run --pty --service-type=simple --uid=tobyv --quiet --working-directory=/home/tobyv -p PAMName=login /bin/zsh -l -c 'tmux new -As tobyv'"
working_directory: '\\wsl$\Arch\home\tobyv'