summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix/system-create.scm22
1 files changed, 20 insertions, 2 deletions
diff --git a/guix/system-create.scm b/guix/system-create.scm
index 10577bb..b967512 100644
--- a/guix/system-create.scm
+++ b/guix/system-create.scm
@@ -3,6 +3,7 @@
#:use-module (gnu)
#:use-module (gnu services)
#:use-module (gnu services dbus)
+ #:use-module (gnu services docker)
#:use-module (gnu system)
#:use-module (gnu system setuid)
#:use-module (gnu system nss)
@@ -63,7 +64,25 @@
;; services, run 'guix system search KEYWORD' in a terminal.
(services
(append (list
+ ;; Containers
(service docker-service-type)
+
+ (when (string= hostname "zeus")
+ (service oci-container-service-type
+ (list
+ (oci-container-configuration
+ (image "ollama/ollama")
+ (network "host")
+ (ports
+ '(("11434" . "11434"))))
+ (oci-container-configuration
+ (image "jellyfin/jellyfin")
+ (network "host")
+ (volumes
+ '("/home/jelly/config:/config"
+ "/home/jelly/cache:/cache"
+ "/hdd:/media"))))))
+
;; tty login
(service elogind-service-type)
@@ -93,8 +112,7 @@
(greetd-terminal-configuration
(terminal-vt "5"))))))
- (service gnome-desktop-service-type)
-
+ ;; (service gnome-desktop-service-type)
(service openssh-service-type
(openssh-configuration