aboutsummaryrefslogtreecommitdiff
path: root/before
diff options
context:
space:
mode:
Diffstat (limited to 'before')
-rwxr-xr-xbefore11
1 files changed, 11 insertions, 0 deletions
diff --git a/before b/before
new file mode 100755
index 0000000..374ddd4
--- /dev/null
+++ b/before
@@ -0,0 +1,11 @@
+#!/bin/sh
+set -eu
+
+PATH="${PATH}:/run/current-system/profile/bin:/run/current-system/profile/sbin"
+
+GUIX_PROFILE="/var/lib/laminar/.config/guix/current"
+. "$GUIX_PROFILE/etc/profile"
+
+env | while read kv; do
+ laminarc set "$kv"
+done