summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-09-07 09:36:33 +0300
committerLars Wirzenius <liw@liw.fi>2023-09-07 09:36:33 +0300
commit5bca51ab26fcf2c017ade0c530f5fc9c3ad6a2b5 (patch)
treedaa226b7bf572ad163cb3b73f33e4852b08625cc
parent86cc939bf78cf6cc6884579290e718dfdf770513 (diff)
downloadliw-dot-files-5bca51ab26fcf2c017ade0c530f5fc9c3ad6a2b5.tar.gz
fix(bashrc): overrride systemd env vars
Sponsored-by: author
-rw-r--r--bashrc7
-rw-r--r--config/vmadm/config.yaml2
2 files changed, 5 insertions, 4 deletions
diff --git a/bashrc b/bashrc
index d51061a..657ccbf 100644
--- a/bashrc
+++ b/bashrc
@@ -153,6 +153,10 @@ prompt_command() {
ulimit -c unlimited
umask 002
+
+# Get environment variables from systemd, if any are set.
+. <(systemctl --user show-environment | sed 's/^/export /')
+
if command -v emacs >/dev/null; then
export EDITOR=emacs
else
@@ -174,9 +178,6 @@ export PYTHONDONTWRITEBYTECODE=1
export STARSHIP_CONFIG=~/.config/starship/config.toml
-# Get environment variables from systemd, if any are set.
-. <(systemctl --user show-environment | sed 's/^/export /')
-
if [ -e "$HOME/tmp/cargo" ]; then
export CARGO_TARGET_DIR="$HOME/tmp/cargo"
elif [ -e "$HOME/cargo" ]; then
diff --git a/config/vmadm/config.yaml b/config/vmadm/config.yaml
index 7ea2cf5..db516ca 100644
--- a/config/vmadm/config.yaml
+++ b/config/vmadm/config.yaml
@@ -1,6 +1,6 @@
image_directory: ~/tmp/vms
default_autostart: true
-default_base_image: ~/tmp/base-images/bullseye-vm.qcow2
+default_base_image: ~/tmp/base-images/bookworm-vm.qcow2
default_cpus: 4
default_generate_host_certificate: true
default_image_gib: 100