diff options
author | Marek Paśnikowski <marekpasnikowski@protonmail.com> | 2023-02-11 20:53:46 +0100 |
---|---|---|
committer | Marek Paśnikowski <marekpasnikowski@protonmail.com> | 2023-02-11 20:59:49 +0100 |
commit | 98c0977809a4a7bb3996d44f7d99505275194328 (patch) | |
tree | ef7985080334d356110872793357e70e98f762b1 /aisaka.org | |
parent | 01630729b7825a16037114c910b1de99f786adb4 (diff) |
Split away the system services
Diffstat (limited to 'aisaka.org')
-rw-r--r-- | aisaka.org | 49 |
1 files changed, 29 insertions, 20 deletions
@@ -5,11 +5,11 @@ * TODO Guix -https://guix.gnu.org/en/manual/devel/en/html_node/ +https://guix.gnu.org/en/manual/en/html_node/ ** TODO System configuration -https://guix.gnu.org/en/manual/devel/en/html_node/System-Configuration.html +https://guix.gnu.org/en/manual/en/html_node/System-Configuration.html #+begin_src scheme :noweb-ref system-dump :tangle system-configuration.scm (add-to-load-path "./services") @@ -52,24 +52,7 @@ https://guix.gnu.org/en/manual/devel/en/html_node/System-Configuration.html "nss-certs" "ntfs-3g")) %base-packages)) - (services (cons* - <<ssh-system-service>> - <<trezor-system-packages>> - (service cups-service-type - (cups-configuration (extensions `(,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))) - <<trezor-udev-rules>> - (modify-services %desktop-services - (elogind-service-type - configuration => - (elogind-configuration - (inherit configuration) - (handle-lid-switch 'ignore)))))) + <<system-services>> (bootloader (bootloader-configuration (bootloader grub-bootloader) (targets '("/dev/sda")) (keyboard-layout keyboard-layout))) @@ -86,6 +69,32 @@ https://guix.gnu.org/en/manual/devel/en/html_node/System-Configuration.html <<bootfs>>)))) #+end_src +*** TODO Services + +https://guix.gnu.org/en/manual/en/html_node/Services.html + +#+begin_src scheme :noweb-ref system-services + (services + (cons* + <<ssh-system-service>> + <<trezor-system-packages>> + (service cups-service-type + (cups-configuration (extensions `(,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))) + <<trezor-udev-rules>> + (modify-services %desktop-services + (elogind-service-type + configuration => + (elogind-configuration + (inherit configuration) + (handle-lid-switch 'ignore)))))) +#+end_src + ** TODO Home configuration https://guix.gnu.org/en/manual/devel/en/html_node/Home-Configuration.html |