Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: add sandboxed terminal #326

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions lumina/files/_base/etc/containers/systemd/users/podmansh.container
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[Unit]
Description=The podmansh container
After=local-fs.target

[Container]
Image=docker.io/library/fedora:latest
ContainerName=podmansh
RemapUsers=keep-id
RunInit=yes

Volume=%h/sandbox:%h:Z
Exec=sleep infinity

[Service]
ExecStartPre=/usr/bin/mkdir -p %h/sandbox

[Install]
RequiredBy=default.target
9 changes: 9 additions & 0 deletions lumina/files/_silverblue/etc/dconf/db/local.d/06-terminal
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,12 @@ interface-style='system'
restore-session=false
restore-window-size=false
audible-bell=false
default-profile-uuid='6bda7952f77dc37991e6318f667fbe69'

[/org/gnome/Ptyxis/Profiles/6bda7952f77dc37991e6318f667fbe69]
label='Host'

[/org/gnome/Ptyxis/Profiles/7632d7d21032d8c3bf7aa2ec672cbb04]
label='Sandbox'
use-custom-command=true
custom-command='/usr/bin/podmansh'
2 changes: 2 additions & 0 deletions lumina/scripts/_base/003-ptyxis-terminal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ if [[ "$FEDORA_VERSION" == "40" ]]; then
# Install the package
dnf install -y ptyxis
fi

rpm-ostree install podmansh
Loading