summaryrefslogtreecommitdiff
path: root/systems
diff options
context:
space:
mode:
Diffstat (limited to 'systems')
-rw-r--r--systems/ayase.scm6
-rw-r--r--systems/izumi/izumi.org41
-rw-r--r--systems/izumi/system-configuration.scm41
3 files changed, 45 insertions, 43 deletions
diff --git a/systems/ayase.scm b/systems/ayase.scm
index 85142ea..aef4771 100644
--- a/systems/ayase.scm
+++ b/systems/ayase.scm
@@ -72,8 +72,6 @@
"-swap"
number)))
-;;;
-
;; #<service>
(define home-services
(service guix-home-service-type
@@ -109,7 +107,9 @@
;; (list #<service>)
(define services
(append %distribution-services
- (list home-services)
+ (list ;; (@ (users id1000)
+ ;; dovecot)
+ home-services)
system-services))
;; (list #<swap-space>)
diff --git a/systems/izumi/izumi.org b/systems/izumi/izumi.org
index 779e899..3fd6542 100644
--- a/systems/izumi/izumi.org
+++ b/systems/izumi/izumi.org
@@ -484,7 +484,7 @@
( define* ( wip-mail-services #:key interface domain )
( list
( wip-dkim-service domain )
- ( wip-imap-service domain )
+ ;; ( wip-imap-service domain )
( wip-smtp-service interface domain ) ) )
( operating-system
@@ -569,6 +569,7 @@
#:interface "enp1s0"
#:domain "marekpasnikowski.pl" )
( list
+ (@ (users id1000) dovecot-service)
(service (service-type (inherit certbot-service-type)
(extensions (map (lambda (extension)
(if (eq? (service-extension-target extension)
@@ -578,24 +579,24 @@
certbot-nginx-server-configurations))
extension))
(service-type-extensions certbot-service-type))))
- ( certbot-configuration
- ( certificates
- ( list
- ( certificate-configuration
- ( deploy-hook
- ( program-file
- "nginx-deploy-hook"
- #~
- ( let
- ( ( pid ( call-with-input-file "/var/run/nginx/pid" read ) ) )
- ( kill pid SIGHUP ) ) ) )
- ( domains
- ( list
- "marekpasnikowski.pl"
- "git.marekpasnikowski.pl"
- "radicale.marekpasnikowski.pl" ) ) ) ) )
- ( email "marek@marekpasnikowski.pl" )
- ( webroot "/srv/www/marek/marekpasnikowski.pl" ) ) )
+ ( certbot-configuration
+ ( certificates
+ ( list
+ ( certificate-configuration
+ ( deploy-hook
+ ( program-file
+ "nginx-deploy-hook"
+ #~
+ ( let
+ ( ( pid ( call-with-input-file "/var/run/nginx/pid" read ) ) )
+ ( kill pid SIGHUP ) ) ) )
+ ( domains
+ ( list
+ "marekpasnikowski.pl"
+ "git.marekpasnikowski.pl"
+ "radicale.marekpasnikowski.pl" ) ) ) ) )
+ ( email "marek@marekpasnikowski.pl" )
+ ( webroot "/srv/www/marek/marekpasnikowski.pl" ) ) )
(service (service-type (inherit cgit-service-type)
(extensions (map (lambda (extension)
(if (eq? (service-extension-target extension)
@@ -647,7 +648,7 @@
( gitolite-configuration
( rc-file ( gitolite-rc-file ( umask #o0027 ) ) )
( admin-pubkey ( plain-file "gitolite-admin.pub"
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK4THTYnHCc/ihCJNKJtGTNu1zCnLndbMHnxnrxzJk+N marek@izumi\n") ) ) )
+ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK4THTYnHCc/ihCJNKJtGTNu1zCnLndbMHnxnrxzJk+N marek@izumi\n") ) ) )
( service gnome-desktop-service-type )
( service syncthing-service-type ( syncthing-configuration ( user "marek" ) ) )
(service nginx-service-type*
diff --git a/systems/izumi/system-configuration.scm b/systems/izumi/system-configuration.scm
index a031235..ba46806 100644
--- a/systems/izumi/system-configuration.scm
+++ b/systems/izumi/system-configuration.scm
@@ -474,7 +474,7 @@
( define* ( wip-mail-services #:key interface domain )
( list
( wip-dkim-service domain )
- ( wip-imap-service domain )
+ ;; ( wip-imap-service domain )
( wip-smtp-service interface domain ) ) )
( operating-system
@@ -559,6 +559,7 @@
#:interface "enp1s0"
#:domain "marekpasnikowski.pl" )
( list
+ (@ (users id1000) dovecot-service)
(service (service-type (inherit certbot-service-type)
(extensions (map (lambda (extension)
(if (eq? (service-extension-target extension)
@@ -568,24 +569,24 @@
certbot-nginx-server-configurations))
extension))
(service-type-extensions certbot-service-type))))
- ( certbot-configuration
- ( certificates
- ( list
- ( certificate-configuration
- ( deploy-hook
- ( program-file
- "nginx-deploy-hook"
- #~
- ( let
- ( ( pid ( call-with-input-file "/var/run/nginx/pid" read ) ) )
- ( kill pid SIGHUP ) ) ) )
- ( domains
- ( list
- "marekpasnikowski.pl"
- "git.marekpasnikowski.pl"
- "radicale.marekpasnikowski.pl" ) ) ) ) )
- ( email "marek@marekpasnikowski.pl" )
- ( webroot "/srv/www/marek/marekpasnikowski.pl" ) ) )
+ ( certbot-configuration
+ ( certificates
+ ( list
+ ( certificate-configuration
+ ( deploy-hook
+ ( program-file
+ "nginx-deploy-hook"
+ #~
+ ( let
+ ( ( pid ( call-with-input-file "/var/run/nginx/pid" read ) ) )
+ ( kill pid SIGHUP ) ) ) )
+ ( domains
+ ( list
+ "marekpasnikowski.pl"
+ "git.marekpasnikowski.pl"
+ "radicale.marekpasnikowski.pl" ) ) ) ) )
+ ( email "marek@marekpasnikowski.pl" )
+ ( webroot "/srv/www/marek/marekpasnikowski.pl" ) ) )
(service (service-type (inherit cgit-service-type)
(extensions (map (lambda (extension)
(if (eq? (service-extension-target extension)
@@ -637,7 +638,7 @@
( gitolite-configuration
( rc-file ( gitolite-rc-file ( umask #o0027 ) ) )
( admin-pubkey ( plain-file "gitolite-admin.pub"
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK4THTYnHCc/ihCJNKJtGTNu1zCnLndbMHnxnrxzJk+N marek@izumi\n") ) ) )
+ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK4THTYnHCc/ihCJNKJtGTNu1zCnLndbMHnxnrxzJk+N marek@izumi\n") ) ) )
( service gnome-desktop-service-type )
( service syncthing-service-type ( syncthing-configuration ( user "marek" ) ) )
(service nginx-service-type*