blob: 2f686d948e441b1e88ed69cb76edc670c799ea93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
* 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 ~/dev && cd ~/dev && 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 "~/dev/nonguix"))
#+end_src
<2024-10-27 Sun 12:46>
* Fixing Xorg :guix:
:PROPERTIES:
:ID: 994b07d3-cfe3-4c0b-8119-b0d800d04d82
:END:
<2024-10-24 Thu 12:33>
https://lists.gnu.org/archive/html/help-guix/2018-07/msg00080.html
* [[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")~
|