home-environments: Add !network abbreviation to restart networking and wpa-supplicant system services

main
Luis Guilherme Coelho 2024-11-11 12:13:38 -03:00
parent b4e89e28da
commit 560ed1d9bc
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
1 changed files with 2 additions and 0 deletions

View File

@ -227,6 +227,8 @@
(!repl . "guix repl -i ~/.config/guile/guilerc") (!repl . "guix repl -i ~/.config/guile/guilerc")
(!home . "guix home reconfigure ~/.config/guix/home.scm") (!home . "guix home reconfigure ~/.config/guix/home.scm")
(!system . "doas guix system reconfigure /etc/config.scm") (!system . "doas guix system reconfigure /etc/config.scm")
(!network . (format #f "doas herd restart networking ~
&& doas herd restart wpa-supplicant"))
#|Processes|# #|Processes|#
(tf . "setsid -f % >/dev/null 2>&1 & disown") (tf . "setsid -f % >/dev/null 2>&1 & disown")