summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--deployment/services/mail.scm1
-rw-r--r--deployment/services/networking.scm28
-rw-r--r--deployment/system.scm3
-rw-r--r--deployment/system/aisaka.scm3
4 files changed, 34 insertions, 1 deletions
diff --git a/deployment/services/mail.scm b/deployment/services/mail.scm
index a85d4ae..268fd58 100644
--- a/deployment/services/mail.scm
+++ b/deployment/services/mail.scm
@@ -3,6 +3,7 @@
;;; COPYRIGHT NOTICE
;;;
+;;; Copyright 2019, Julien Lepiller <julien@lepiller.eu>
;;; Copyright 2026, Marek Paśnikowski <marek@marekpasnikowski.pl>
;;; LICENSE NOTICE
diff --git a/deployment/services/networking.scm b/deployment/services/networking.scm
new file mode 100644
index 0000000..a205fc4
--- /dev/null
+++ b/deployment/services/networking.scm
@@ -0,0 +1,28 @@
+;;; SPDX-License-Identifier: GPL-3.0-or-later
+;;; SPDX-FileCopyrightText: 2026 Marek Paśnikowski <marek@marekpasnikowski.pl>
+
+;;; COPYRIGHT NOTICE
+;;;
+;;; Copyright 2026, Marek Paśnikowski <marek@marekpasnikowski.pl>
+
+;;; LICENSE NOTICE
+;;;
+;;; This library is free software: you can redistribute it and/or modify it under the terms of
+;;; the GNU General Public License as published by the Free Software Foundation,
+;;; either version 3 of the License, or (at your option) any later version.
+;;;
+;;; This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+;;; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+;;; See the GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License along with this library.
+;;; If not, see <https://www.gnu.org/licenses/>.
+
+(define-module (deployment services networking)
+ #:export (network-online-service-aisaka)
+ #:use-module ((sovereign services networking)
+ #:prefix sovereign:services:networking:))
+
+(define network-online-service-aisaka sovereign:services:networking:network-online-throwaway-service)
+
+;;; EOF
diff --git a/deployment/system.scm b/deployment/system.scm
index 3d36d8c..ea7e6af 100644
--- a/deployment/system.scm
+++ b/deployment/system.scm
@@ -31,6 +31,8 @@
#:prefix deployment:services:mail:)
#:use-module ((deployment services matrix)
#:prefix deployment:services:matrix:)
+ #:use-module ((deployment services networking)
+ #:prefix deployment:services:networking:)
#:use-module ((deployment services web)
#:prefix deployment:services:web:)
#:use-module ((deployment system aisaka)
@@ -132,6 +134,7 @@
deployment:services:dns:knot-service-aisaka
deployment:services:databases:matrix-postgresql-service
deployment:services:matrix:matrix-service-aisaka
+ deployment:services:networking:network-online-service-aisaka
deployment:services:web:nginx-service-aisaka
deployment:system:aisaka:offload-rakan
deployment:system:aisaka:radicale
diff --git a/deployment/system/aisaka.scm b/deployment/system/aisaka.scm
index 49d28a3..17636d1 100644
--- a/deployment/system/aisaka.scm
+++ b/deployment/system/aisaka.scm
@@ -297,7 +297,8 @@
(gnu:services:shepherd:shepherd-service
(provision (list 'networking))
(requirement (list 'network-enp2s0-table
- 'network-enp2s0-route-default))
+ 'network-enp2s0-route-default
+ 'network-online))
(one-shot? #t)
(respawn? #f)
(start #~(const #t))