Skip to content

Commit

Permalink
Bumped dotfile tools
Browse files Browse the repository at this point in the history
  • Loading branch information
nikarh committed Jan 2, 2024
1 parent 78c1b63 commit bf2a5d8
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dotfiles-tools
6 changes: 3 additions & 3 deletions system/modules/common/gaming/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sudo cp -ufrT "$ROOT/root/" /
pkg cemu joystickwake gamemode mangohud

pkg-local "$ROOT/pkg/wine-nvcuda"
pkg-local "$ROOT/pkg/play.sh"
pkg-local "$ROOT/pkg/brie"

if [ -n "$ARGS_streaming" ]; then
# Game streaming
Expand All @@ -25,8 +25,8 @@ if [ -n "$ARGS_user" ]; then

SUENV="DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u games)/bus"

if [[ "$(sudo -u games $SUENV systemctl --user is-enabled play.sh)" != "enabled" ]]; then
sudo -u games $SUENV systemctl --user enable --now play.sh
if [[ "$(sudo -u games $SUENV systemctl --user is-enabled brie)" != "enabled" ]]; then
sudo -u games $SUENV systemctl --user enable --now brie
fi

if [[ "$(sudo -u games $SUENV systemctl --user is-enabled syncthing)" != "enabled" ]]; then
Expand Down
4 changes: 2 additions & 2 deletions system/modules/common/gaming/root/etc/sudoers.d/games
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
User_Alias GAMES_USERS = %games
Cmnd_Alias PLAY= /usr/bin/play.sh,/usr/bin/winecfg
Cmnd_Alias PLAY= /usr/bin/play.sh,/usr/bin/briectl,/usr/bin/brie,/usr/bin/winecfg

Defaults:GAMES_USERS env_reset
Defaults:GAMES_USERS env_keep += DISPLAY
Defaults:GAMES_USERS env_keep += XAUTHORITY
Defaults:GAMES_USERS env_keep += PULSE_SERVER
Defaults !lecture,tty_tickets,!fqdn

GAMES_USERS ALL=(games) NOPASSWD: PLAY
GAMES_USERS ALL=(games) NOPASSWD: PLAY
15 changes: 14 additions & 1 deletion user/workstation/user/home/.config/Code/User/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
"ahash",
"alacritty",
"argb",
"argh",
"Arhipov",
"armv",
"Aseprite",
Expand Down Expand Up @@ -150,8 +151,10 @@
"heliconia",
"HKEY",
"INADDR",
"indexmap",
"indicatif",
"INET",
"Inotify",
"Insertable",
"insta",
"itertools",
Expand All @@ -164,6 +167,7 @@
"Librsvg",
"libudev",
"localstack",
"Luma",
"Lumo",
"lumoc",
"lumos",
Expand All @@ -189,10 +193,13 @@
"nonbw",
"nostack",
"nvapi",
"nvcuda",
"nvngx",
"nvoptix",
"onoff",
"optlen",
"optres",
"outerwilds",
"overscan",
"oxhttp",
"pagedown",
Expand Down Expand Up @@ -227,6 +234,7 @@
"SETBUF",
"SETFL",
"setsockopt",
"shellexpand",
"Smol",
"sockaddr",
"socketpair",
Expand Down Expand Up @@ -261,12 +269,15 @@
"vram",
"vsintellicode",
"vswp",
"wineboot",
"winecfg",
"WINEDLLOVERRIDES",
"WINEDLLPATH",
"winemenubuilder",
"WINEPREFIX",
"wineserver",
"winetricks",
"witcher",
"Xunit",
"yapgeir",
"yzhang",
Expand Down Expand Up @@ -351,9 +362,11 @@
"[markdown]": {
"editor.defaultFormatter": "yzhang.markdown-all-in-one"
},
"window.zoomLevel": -1,
"[scss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"diffEditor.hideUnchangedRegions.enabled": true,
"[sql]": {
"editor.defaultFormatter": "mtxr.sqltools"
},
}

0 comments on commit bf2a5d8

Please sign in to comment.