From 012b1e0574868d2040a3bf0b0f303d7fe7d0feb7 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Mon, 28 Oct 2024 10:13:35 +0200 Subject: . --- guix.org | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 guix.org (limited to 'guix.org') diff --git a/guix.org b/guix.org new file mode 100644 index 0000000..ee00318 --- /dev/null +++ b/guix.org @@ -0,0 +1,69 @@ +* Reconfigure +#+begin_src bash :results file :file results-system-reconfigure :output-dir ~/runs :async :session execute-asynchronously + guix home reconfigure ~/system/home/config.scm +#+end_src + +#+RESULTS: +[[file:~/runs/results-system-reconfigure]] + +#+begin_src bash :dir /sudo::/home/mccd/system/os/ :results value file :file results-system-reconfigure.txt :output-dir ~/runs :session async + sudo guix system reconfigure config.scm +#+end_src + +#+RESULTS: +[[file:../runs/results-system-reconfigure.txt]] + +* Adding nonguix to guile + +You'll need to clone nonguix + +~mkdir -p ~/builds && cd ~/builds && git clone https://gitlab.com/nonguix/nonguix~ + +Then make sure you have it in with-eval-after-load + +#+begin_src elisp + (with-eval-after-load 'geiser-guile + (add-to-list 'geiser-guile-load-path "~/builds/nonguix")) +#+end_src +<2024-10-27 Sun 12:46> + +* Fixing Xorg :guix: +https://lists.gnu.org/archive/html/help-guix/2018-07/msg00080.html +<2024-10-24 Thu 12:33> + +* [[https://karl.hallsby.com/running-your-website-using-guix-system.html][Setting up a guix server]] +* Credentials management :guix: +https://github.com/fishinthecalculator/sops-guix + +https://gitlab.com/martin-baulig/config-and-setup/guix-packages/-/blob/work-wal-g/packages/baulig/build/secrets-service.scm +* Guix dotfiles +Use the dotfile manager from home services + +https://guix.gnu.org/manual/devel/en/html_node/Essential-Home-Services.html +* Starting exwm from startx +https://issues.guix.gnu.org/73869 +* Setting up xmodmap +https://guix.gnu.org/manual/devel/en/html_node/Desktop-Home-Services.html + +There's one for X +* User services with cron +Seems to be best to use Shepard? + +https://guix.gnu.org/manual/devel/en/html_node/Mcron-Home-Service.html + +Vs + +https://guix.gnu.org/en/blog/2020/gnu-shepherd-user-services/ + +Nvm. + +#+begin_src + +(define garbage-collector-job + ;; Collect garbage 5 minutes after midnight every day. + ;; The job's action is a shell command. + #~(job "5 0 * * *" ;Vixie cron syntax + "guix gc -F 1G")) +#+end_src +** Reference a package +~,(file-append zsh "/bin/zsh")~ -- cgit v1.2.3