summaryrefslogtreecommitdiff
path: root/guix.org
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-10-28 10:13:35 +0200
committerMarc Coquand <marc@mccd.space>2024-10-28 10:13:35 +0200
commit012b1e0574868d2040a3bf0b0f303d7fe7d0feb7 (patch)
tree3de04a3fab9bb4a04d2e8581a6c3c598c27c527c /guix.org
parent1ced00b044f26959bdd1fe3decc40ff0acdcd2ea (diff)
downloadguix-012b1e0574868d2040a3bf0b0f303d7fe7d0feb7.tar.gz
guix-012b1e0574868d2040a3bf0b0f303d7fe7d0feb7.tar.bz2
guix-012b1e0574868d2040a3bf0b0f303d7fe7d0feb7.zip
.
Diffstat (limited to '')
-rw-r--r--guix.org69
1 files changed, 69 insertions, 0 deletions
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")~