Skip to content

Commit 7fcf1e9

Browse files
author
Waylon S. Walker
committed
bambu and windsur distrobox
1 parent 647b22c commit 7fcf1e9

File tree

3 files changed

+68
-1
lines changed

3 files changed

+68
-1
lines changed

distrobox/distrobox.ini

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ start_now=true
88

99
[devtainer-0.1.3]
1010
image=docker.io/waylonwalker/devtainer:0.1.3
11-
nvidia=true
11+
nvidia=false
1212
pull=true
1313
root=false
1414
replace=true
@@ -38,6 +38,22 @@ exported_bins="/usr/local/bin/lazydocker"
3838
exported_bins="/usr/local/bin/lazygit"
3939
exported_bins="/usr/local/bin/ctop"
4040

41+
[devtainer-arch-0.1.3]
42+
image=docker.io/waylonwalker/devtainer-arch:0.1.3
43+
nvidia=false
44+
root=false
45+
replace=true
46+
start_now=true
47+
init_hooks=ln -sf /usr/bin/distrobox-host-exec /usr/bin/distrobox;
48+
init_hooks=ln -sf /usr/bin/distrobox-host-exec /usr/local/bin/kind;
49+
init_hooks=ln -sf /usr/bin/distrobox-host-exec /usr/local/bin/flatpak;
50+
init_hooks=ln -sf /usr/bin/distrobox-host-exec /usr/local/bin/podman;
51+
init_hooks=ln -sf /usr/bin/distrobox-host-exec /usr/local/bin/xdg-open;
52+
init_hooks=ln -sf /usr/bin/distrobox-host-exec /usr/bin/fastfetch;
53+
init_hooks=ln -sf /usr/bin/distrobox-host-exec /usr/bin/tailscale;
54+
init_hooks=ln -sf /usr/bin/distrobox-host-exec /usr/sbin/fuser;
55+
extra_mounts=/run/user/$(id -u)/podman/podman.sock:/run/user/$(id -u)/podman/podman.sock
56+
4157
[ubuntu]
4258
additional_packages="git vim tmux nodejs"
4359
image=ubuntu:latest
@@ -87,3 +103,32 @@ root=false
87103
replace=false
88104
exported_bins="/usr/bin/ghostty"
89105
init_hooks=ln -sf /usr/bin/distrobox-host-exec /usr/bin/distrobox;
106+
107+
[hyprland]
108+
container-name=hyprland-arch
109+
image=archlinux:latest
110+
entry=/usr/bin/Hyprland
111+
additional-packages=sudo, hyprland, xdg-desktop-portal-hyprland, xdg-desktop-portal, dbus, bash, foot, wl-clipboard, wayland, mesa, xorg-xwayland, grim, slurp, pipewire, wireplumber, alsa-utils, neovim
112+
environment=XDG_SESSION_TYPE=wayland, XDG_CURRENT_DESKTOP=Hyprland, WLR_RENDERER_ALLOW_SOFTWARE=1
113+
binds=$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY:/run/user/$(id -u)/wayland-0, /tmp/.X11-unix:/tmp/.X11-unix, /run/dbus:/run/dbus, /dev/dri:/dev/dri, /dev/shm:/dev/shm, /etc/machine-id:/etc/machine-id, /run/systemd/journal:/run/systemd/journal
114+
init-hooks=sudo usermod -aG video $USER, sudo usermod -aG render $USER
115+
116+
[bambu-studio]
117+
image=waylonwalker/bambu-studio-arch:latest
118+
pull=false
119+
replace=true
120+
init=false
121+
home=~/distrobox-home/bambu-studio
122+
start_now=true
123+
exported_bins="/usr/bin/bambu-studio"
124+
entry=true
125+
126+
[windsurf]
127+
image=waylonwalker/windsurf-arch:latest
128+
pull=false
129+
replace=true
130+
init=false
131+
home=~/distrobox-home/windsurf
132+
start_now=true
133+
exported_bins="/usr/bin/windsurf"
134+
entry=true

docker/bambu-studio.containerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM ghcr.io/ublue-os/arch-distrobox
2+
3+
RUN pacman -Syu --noconfirm
4+
# Create build user
5+
RUN useradd -m --shell=/bin/bash build && usermod -L build && \
6+
echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \
7+
echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
8+
9+
USER build
10+
WORKDIR /home/build
11+
RUN paru -S --noconfirm bambustudio-bin

docker/windsurf.containerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM ghcr.io/ublue-os/arch-distrobox
2+
3+
RUN pacman -Syu --noconfirm
4+
# Create build user
5+
RUN useradd -m --shell=/bin/bash build && usermod -L build && \
6+
echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \
7+
echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
8+
9+
USER build
10+
WORKDIR /home/build
11+
RUN paru -S --noconfirm windsurf

0 commit comments

Comments
 (0)