diff options
Diffstat (limited to 'aisaka.org')
-rw-r--r-- | aisaka.org | 64 |
1 files changed, 24 insertions, 40 deletions
@@ -3,6 +3,29 @@ #+property: header-args:scheme :noweb yes #+property: header-args:scheme+ :noweb-prefix no +* TODO LIBREBOOT + +The first layer of computing is the firmware. The Lenovo Thinkpad X200 has +a free Libreboot firmware installed. It is a good idea to keep it up to date. + +** TODO Flashrom + +Flashrom program is needed to write the computer firmware. The +program needs a relaxed kernel security feature. + +#+begin_src scheme :noweb-ref flashrom-package + (service + (service-type + (name 'flashrom-package) + (extensions + `(,(service-extension home-profile-service-type + (lambda (_) + (map specification->package + '("flashrom")))))) + (description "Flashrom installation.") + (default-value #f))) +#+end_src + * TODO File Systems This system has a very simple file system - a boot partition, main partition @@ -58,44 +81,6 @@ memory without overprovisioning, as well as to prolog the lifetime of SSD. (swap-space (target (uuid "73bed3f9-be07-40ad-a228-577cd24f2e1d"))) #+end_src -* TODO LIBREBOOT - -The first layer of computing is the firmware. The Lenovo Thinkpad X200 has -a free Libreboot firmware installed. It is a good idea to keep it up to date. - -** TODO Flashrom - -Flashrom program is needed to write the computer firmware. The program needs -a relaxed kernel security feature. - -#+begin_src scheme :noweb-ref flashrom-tangle :tangle services/flashrom.scm - (define-module (flashrom) - #:use-module (gnu) - #:use-module (gnu home) - #:use-module (gnu home services) - #:use-module (gnu home services shells)) - - <<flashrom-package>> -#+end_src - -*** TODO Flashrom Package - -This service installs flashrom. - -#+begin_src scheme :noweb-ref flashrom-package - (define-public flashrom-package - (service - (service-type - (name 'flashrom-package) - (extensions - `(,(service-extension home-profile-service-type - (lambda (_) - (map specification->package - '("flashrom")))))) - (description "Flashrom installation.") - (default-value #f)))) -#+end_src - * TODO System Servers ** TODO Secure Shell @@ -253,7 +238,6 @@ The Sway Window Manager consists of Sway packages and relevant configurations. (add-to-load-path "./services") (define-module (aisaka-home-configuration) - #:use-module (flashrom) #:use-module (gnu home) #:use-module (gnu home services) #:use-module (gnu home services shells) @@ -363,7 +347,7 @@ The Sway Window Manager consists of Sway packages and relevant configurations. "unzip" "zip"))) (services - `(,flashrom-package + `(,<<flashrom-package>> ,ssh-configuration ,sway-configuration ,sway-packages |