summaryrefslogtreecommitdiff
path: root/aisaka.org
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2023-02-11 23:12:45 +0100
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2023-02-11 23:12:45 +0100
commite52513035a4cc61a2bc170a8b09ac3fda26f3aa0 (patch)
tree199f74e1f71b90129fdfcc0ca9626ac357b0bba2 /aisaka.org
parentaca2eeb1eae24089ce339561b1d6f7000d15b7ae (diff)
Rearrange the literate layout of the code
Diffstat (limited to 'aisaka.org')
-rw-r--r--aisaka.org73
1 files changed, 35 insertions, 38 deletions
diff --git a/aisaka.org b/aisaka.org
index d6cac55..3b8af7c 100644
--- a/aisaka.org
+++ b/aisaka.org
@@ -65,7 +65,8 @@ https://guix.gnu.org/en/manual/en/html_node/System-Configuration.html
"nss-certs"
"ntfs-3g"))
%base-packages))
- <<system-services>>
+ (services
+ <<system-services>>)
(bootloader (bootloader-configuration (bootloader grub-bootloader)
(targets '("/dev/sda"))
(keyboard-layout keyboard-layout)))
@@ -87,34 +88,33 @@ https://guix.gnu.org/en/manual/en/html_node/System-Configuration.html
https://guix.gnu.org/en/manual/en/html_node/Services.html
#+begin_src scheme :noweb-ref system-services
- (services
- (append
+ (append
+ (list
+ <<ssh-system-service>>
<<system-base-services>>
- (list
- <<ssh-system-service>>
- <<trezor-system-packages>>
- (service
- cups-service-type
- (cups-configuration
- (extensions
- (list
- cups-filters
- epson-inkjet-printer-escpr))
- (web-interface? #t)))
- (service git-daemon-service-type)
- (service gnome-desktop-service-type)
- (service
- tor-service-type
- (tor-configuration
- (control-socket? #t))))
- (modify-services
- %desktop-services
- (elogind-service-type
- configuration =>
- (elogind-configuration
- (inherit configuration)
- (handle-lid-switch 'ignore)))
- (delete guix-service-type))))
+ <<trezor-system-packages>>
+ (service
+ cups-service-type
+ (cups-configuration
+ (extensions
+ (list
+ cups-filters
+ epson-inkjet-printer-escpr))
+ (web-interface? #t)))
+ (service git-daemon-service-type)
+ (service gnome-desktop-service-type)
+ (service
+ tor-service-type
+ (tor-configuration
+ (control-socket? #t))))
+ (modify-services
+ %desktop-services
+ (elogind-service-type
+ configuration =>
+ (elogind-configuration
+ (inherit configuration)
+ (handle-lid-switch 'ignore)))
+ (delete guix-service-type)))
#+end_src
**** TODO Base Services
@@ -122,16 +122,13 @@ https://guix.gnu.org/en/manual/en/html_node/Services.html
https://guix.gnu.org/en/manual/en/html_node/Base-Services.html
#+begin_src scheme :noweb-ref system-base-services
- (append
- (list
- <<trezor-udev-rules>>)
- (list
- (service
- guix-service-type
- (guix-configuration
- (extra-options
- (list
- <<guix-options>>))))))
+ <<trezor-udev-rules>>
+ (service
+ guix-service-type
+ (guix-configuration
+ (extra-options
+ (list
+ <<guix-options>>))))
#+end_src
** TODO Home configuration