Skip to content

Commit

Permalink
fixup! fish: user_setup: Use systemd-nspawn for main development envi…
Browse files Browse the repository at this point in the history
…ronment

Signed-off-by: Nathan Chancellor <nathan@kernel.org>
  • Loading branch information
nathanchance committed Dec 24, 2024
1 parent ac8ffc5 commit 8282089
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions fish/functions/user_setup.fish
Original file line number Diff line number Diff line change
Expand Up @@ -360,13 +360,20 @@ rpmbuild/' >>$gitignore
switch $LOCATION
case hetzner workstation
ln -fnrsv $configs/tmux/.tmux.conf.nspawn $HOME/.tmux.conf.container

# Set up files first because that process is quicker than the build
# process and doas/sudo authorization lasts at least five minutes
sd_nspawn -i
or return

mkosi_bld

case wsl
touch $HOME/.tmux.conf.container

case '*'
ln -fnrsv $configs/tmux/.tmux.conf.dbx $HOME/.tmux.conf.container

if has_container_manager
dbxc --yes
end
Expand Down

0 comments on commit 8282089

Please sign in to comment.