From 8282089a5fbcef542f56543fe7365613151ae638 Mon Sep 17 00:00:00 2001 From: Nathan Chancellor Date: Tue, 24 Dec 2024 13:18:25 -0700 Subject: [PATCH] fixup! fish: user_setup: Use systemd-nspawn for main development environment Signed-off-by: Nathan Chancellor --- fish/functions/user_setup.fish | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/fish/functions/user_setup.fish b/fish/functions/user_setup.fish index 99e07ed8..5fa2ba1d 100644 --- a/fish/functions/user_setup.fish +++ b/fish/functions/user_setup.fish @@ -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