From e14390858839d7fd56b579d6489ea7bc88a5e530 Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Sun, 2 Jul 2023 15:36:22 +0200 Subject: Add GNU/Guix config files. --- .bin/profile-add-all | 9 +++++++++ .bin/system-reconfigure | 3 +++ 2 files changed, 12 insertions(+) create mode 100755 .bin/profile-add-all create mode 100755 .bin/system-reconfigure (limited to '.bin') 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 @@ +#!/bin/sh + +GUIX_EXTRA_PROFILES=$HOME/.guix-extra-profiles +for i in $HOME/.config/guix/manifests/*; do + echo $i + MANIFEST_NAME=$(basename $i .scm) + mkdir -p "$GUIX_EXTRA_PROFILES"/"$MANIFEST_NAME" + guix package --manifest=$i --profile="$GUIX_EXTRA_PROFILES/$MANIFEST_NAME/$MANIFEST_NAME" +done 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 @@ +#!/bin/sh + +sudo -E guix system -L $HOME/dotfiles/guix reconfigure $HOME/dotfiles/guix/jd/desktops/$(hostname).scm \ No newline at end of file -- cgit v1.2.3