summaryrefslogtreecommitdiffstats
path: root/.bin
diff options
context:
space:
mode:
authorjdlugosz963 <jdlugosz963@gmail.com>2023-07-02 15:36:22 +0200
committerjdlugosz963 <jdlugosz963@gmail.com>2023-07-02 15:36:22 +0200
commite14390858839d7fd56b579d6489ea7bc88a5e530 (patch)
treeff41ac387a8c0c3d4f135bf41d5f95b857d78bdc /.bin
parent6156f86dd5797de5ea4f912b70d38963c6cf4ad4 (diff)
downloaddotfiles-e14390858839d7fd56b579d6489ea7bc88a5e530.tar.gz
dotfiles-e14390858839d7fd56b579d6489ea7bc88a5e530.zip
Add GNU/Guix config files.
Diffstat (limited to '.bin')
-rwxr-xr-x.bin/profile-add-all9
-rwxr-xr-x.bin/system-reconfigure3
2 files changed, 12 insertions, 0 deletions
diff --git a/.bin/profile-add-all b/.bin/profile-add-all
new file mode 100755
index 0000000..bca4178
--- /dev/null
+++ b/.bin/profile-add-all
@@ -0,0 +1,9 @@
1#!/bin/sh
2
3GUIX_EXTRA_PROFILES=$HOME/.guix-extra-profiles
4for i in $HOME/.config/guix/manifests/*; do
5 echo $i
6 MANIFEST_NAME=$(basename $i .scm)
7 mkdir -p "$GUIX_EXTRA_PROFILES"/"$MANIFEST_NAME"
8 guix package --manifest=$i --profile="$GUIX_EXTRA_PROFILES/$MANIFEST_NAME/$MANIFEST_NAME"
9done
diff --git a/.bin/system-reconfigure b/.bin/system-reconfigure
new file mode 100755
index 0000000..c4c1a05
--- /dev/null
+++ b/.bin/system-reconfigure
@@ -0,0 +1,3 @@
1#!/bin/sh
2
3sudo -E guix system -L $HOME/dotfiles/guix reconfigure $HOME/dotfiles/guix/jd/desktops/$(hostname).scm \ No newline at end of file