WIP guix recepti in viri
parent
55238c56b0
commit
85c20e38f6
|
@ -0,0 +1,8 @@
|
|||
#+TITLE: Container za emacs, CRDT, orgmode in web server
|
||||
|
||||
* Viri
|
||||
- https://guix.gnu.org/cookbook/en/html_node/Guix-Containers.html
|
||||
- https://guix.gnu.org/cookbook/en/html_node/A-Database-Container.html
|
||||
- https://guix.gnu.org/cookbook/en/html_node/Container-Networking.html
|
||||
- https://issues.genenetwork.org/topics/guix-system-containers-and-how-we-use-them
|
||||
- https://guix.gnu.org/manual/en/html_node/Web-Services.html
|
|
@ -0,0 +1,2 @@
|
|||
pot="test"
|
||||
guix system container --network --share=$pot system.scm
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
guix shell --container --network --manifest=manifest.scm -- emacs
|
|
@ -0,0 +1,13 @@
|
|||
(specifications->manifest
|
||||
(list ;; Base packages
|
||||
"nginx"
|
||||
"bash-minimal"
|
||||
"glibc-locales"
|
||||
"nss-certs"
|
||||
|
||||
;; CMDline
|
||||
"coreutils"
|
||||
|
||||
;; Emacs!
|
||||
"emacs"
|
||||
"emacs-crdt"))
|
|
@ -0,0 +1,23 @@
|
|||
(use-modules (gnu))
|
||||
|
||||
(use-package-modules web emacs)
|
||||
;(use-service-modules ...)
|
||||
|
||||
(operating-system
|
||||
(host-name "emacs-crdt-blog")
|
||||
(timezone "Europe/Ljubljana")
|
||||
(locale "sl_SI.UTF-8")
|
||||
(file-systems (cons (file-system
|
||||
(device (file-system-label "r00t"))
|
||||
(mount-point "/")
|
||||
(type "ext4"))
|
||||
%base-file-systems))
|
||||
(bootloader (bootloader-configuration
|
||||
(bootloader grub-bootloader)
|
||||
(targets '("/dev/sdX"))))
|
||||
(packages (append (list (specification->package "nginx")
|
||||
(specification->package "emacs")
|
||||
(specification->package "emacs-crdt"))
|
||||
%base-packages))
|
||||
(services %base-services))
|
||||
|
Loading…
Reference in New Issue