Skip to content

Commit

Permalink
feat: Update distrobox, just, provide defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
m2Giles committed Sep 13, 2023
1 parent ec60743 commit 4652a18
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 6 deletions.
15 changes: 10 additions & 5 deletions usr/etc/distrobox/distrobox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
image=quay.io/toolbx-images/archlinux-toolbox:latest
home=$HOME/Containers/arch-devel
additional_packages="bash-completion man-db"
additional_packages="bat-extras eza fd fzf just ncurses neofetch ripgrep-all starship"
additional_packages="bat-extras eza fd fzf just ripgrep-all starship stow"
additional_packages="git github-cli libsecret"
additional_packages="binutils clang findutils gawk gcc grep gettext groff gzip make patch sed texinfo which"
additional_packages="neovim python-pynvim wl-clipboard xclip"
additional_packages="binutils findutils gawk gcc grep gettext groff gzip make patch sed texinfo which"
additional_packages="neovim python-pynvim wl-clipboard"
additional_packages="npm clang jre-openjdk perl-file-homedir perl-yaml-tiny texlive-meta"
init=false
nvidia=false
pull=true
Expand All @@ -15,8 +16,12 @@ replace=true
[arch-latex]
image=quay.io/toolbx-images/archlinux-toolbox:latest
home=$HOME/Containers/arch-latex
additional_packages="bash-completion jre-openjdk perl-file-homedir perl-yaml-tiny starship texlive-meta"
additional_packages="neovim"
additional_packages="bash-completion man-db"
additional_packages="bat-extras eza fd fzf just ripgrep-all starship stow"
additional_packages="git github-cli libsecret"
additional_packages="binutils findutils gawk gcc grep gettext groff gzip make patch sed texinfo which"
additional_packages="neovim python-pynvim wl-clipboard"
additional_packages="npm clang jre-openjdk perl-file-homedir perl-yaml-tiny texlive-meta"
init=false
nvidia=false
pull=true
Expand Down
9 changes: 9 additions & 0 deletions usr/share/ublue-os/ContainerSetup/arch-devel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"remoteUser": "${localEnv:USER}",
"extensions": [
"ms-azuretools.vscode-docker",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-vscode.cpptools"
]
}
8 changes: 8 additions & 0 deletions usr/share/ublue-os/ContainerSetup/arch-latex.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"remoteUser": "${localEnv:USER}",
"extensions": [
"draivin.hscopes",
"efoerster.texlab",
"valentjn.vscode-ltex"
]
}
10 changes: 9 additions & 1 deletion usr/share/ublue-os/just/custom.just
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,12 @@ assemble-distrobox:
#!/usr/bin/env bash
[[ ! -d ~/Containers/arch-devel ]] && mkdir -p ~/Containers/arch-devel
[[ ! -d ~/Containers/arch-latex ]] && mkdir -p ~/Containers/arch-latex
distrobox assemble create --file /usr/etc/distrobox/distrobox.ini
distrobox assemble create --file /usr/etc/distrobox/distrobox.ini
# Setup VSCode to connect to Distrobox Named Containers
VSCode-Containers
#!/usr/bin/env bash
local path=${XDG_CONFIG_HOME:-${HOME}/.config}/Code/User/globalStorage/ms-vscode-remote.remote.containers/nameConfigs
[[ ! -d "$path" ]] && mkdir -p $path
cp /usr/share/ublue-os/ContainerSetup/arch-devel.json "$path"
cp /usr/share/ublue-os/ContainerSetup/arch-latex.json "$path"

0 comments on commit 4652a18

Please sign in to comment.