Fix reconf and update

Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
Skylar "The Cobra" Widulski 2023-06-04 14:45:39 -04:00
parent 805248b8ea
commit bc6e389fdc
Signed by: cobra
GPG Key ID: 4FD8F812083FF6F9
2 changed files with 5 additions and 5 deletions

View File

@ -244,7 +244,7 @@ cpplot() {
}
reconf() {
$PRIV su - -c "guix system reconfigure /etc/guix-config/${HOSTNAME,,}.scm"
$PRIV guix system reconfigure /etc/guix-config/${HOSTNAME,,}.scm
}
hreconf() {

View File

@ -18,7 +18,7 @@ if [[ $HOSTNAME == pp ]]; then
WM=\"bash\"
elif [[ $HOSTNAME == Oganesson ]]; then
PRIV=sudo
UPDATE=\"guix pull --branch=master && guix system reconfigure /etc/guix-config/${HOSTNAME,,}.scm && guix package -u\"
UPDATE=\"guix pull --branch=master && reconf && hreconf\"
COPY_COMMAND=\"wl-copy\"
PASTE_COMMAND=\"wl-paste\"
WIFI=wlp2s0
@ -26,7 +26,7 @@ elif [[ $HOSTNAME == Oganesson ]]; then
#export WLR_DRM_DEVICES=/dev/dri/card1:/dev/dri/card0
elif [[ $HOSTNAME == Neon ]]; then
PRIV=sudo
UPDATE=\"guix pull --branch=master && guix system reconfigure /etc/guix-config/${HOSTNAME,,}.scm && guix package -u\"
UPDATE=\"guix pull --branch=master && reconf && hreconf\"
COPY_COMMAND=\"wl-copy\"
PASTE_COMMAND=\"wl-paste\"
WIFI=wlp2s0
@ -328,7 +328,7 @@ cpusage() {
}
# Update and upgrade system
update() { $PRIV sh -c \"$UPDATE\"; }
update() { eval \"$UPDATE\"; }
# Im too lazy to type
copy() {
@ -525,7 +525,7 @@ cpplot() {
}
reconf() {
$PRIV su - -c \"guix system reconfigure /etc/guix-config/${HOSTNAME,,}.scm\"
$PRIV guix system reconfigure /etc/guix-config/${HOSTNAME,,}.scm
}
hreconf() {