diff options
| author | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2026-09-04 12:30:47 +0200 |
|---|---|---|
| committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2026-09-05 00:15:20 +0200 |
| commit | ff0015ef47203045f1a1154b8d340a4163a94925 (patch) | |
| tree | f7e1100813a654d9953e456a0fa3ef03068d793d /deployment | |
| parent | c4057b73bb35da5bb31d395b736ffd87b6edd336 (diff) | |
Diffstat (limited to 'deployment')
| -rw-r--r-- | deployment/services/nfs.scm | 17 | ||||
| -rw-r--r-- | deployment/system/rakan.scm | 6 |
2 files changed, 22 insertions, 1 deletions
diff --git a/deployment/services/nfs.scm b/deployment/services/nfs.scm index 6ec23b4..2e9336b 100644 --- a/deployment/services/nfs.scm +++ b/deployment/services/nfs.scm @@ -21,7 +21,9 @@ (define-module (deployment services nfs) #:export (autofs-aisaka_service autofs-akashi_service + autofs-rakan_service-record nfs-akashi_service + nfs-rakan_service-record service-nfs-aisaka) #:use-module (gnu services nfs) #:use-module (sovereign services nfs)) @@ -48,6 +50,11 @@ (inherit %autofs-configuration_record) (mounts (list autofs-indirect-map/mnt_record)))) +(define autofs-rakan_configuration-record + (autofs-configuration + (inherit %autofs-configuration_record) + (mounts (list autofs-indirect-map/mnt_record)))) + (define nfs-server-aisaka (let ((Export-Dokumenty (list "/home/marek/Dokumenty" @@ -63,16 +70,26 @@ (nfs-configuration (inherit %nfs-configuration))) +(define nfs-rakan_service-record + (nfs-configuration + (inherit %nfs-configuration))) + (define autofs-aisaka_service (autofs_proc autofs-aisaka_record)) (define autofs-akashi_service (autofs_proc autofs-akashi_record)) +(define autofs-rakan_service-record + (autofs_proc autofs-rakan_configuration-record)) + (define service-nfs-aisaka (service-nfs nfs-server-aisaka)) (define nfs-akashi_service (service-nfs nfs-client-akashi)) +(define nfs-rakan_service-record + (service-nfs nfs-rakan_service-record)) + ;;; EOF diff --git a/deployment/system/rakan.scm b/deployment/system/rakan.scm index faa08c5..8edfa4a 100644 --- a/deployment/system/rakan.scm +++ b/deployment/system/rakan.scm @@ -26,6 +26,8 @@ #:prefix deployment:gexp:) #:use-module ( (deployment services) #:prefix deployment:services:) + #:use-module ( (deployment services nfs) + #:prefix deployment:services:nfs:) #:use-module ( (deployment services vpn) #:prefix deployment:services:vpn:) #:use-module ( (deployment system file-systems) @@ -278,8 +280,10 @@ (locale-libcs gnu:system:locale:%default-locale-libcs) (name-service-switch gnu:system:nss:%default-nss) (essential-services (gnu:system:operating-system-default-essential-services gnu:system:this-operating-system)) - (services (cons* guix-home-service + (services (cons* deployment:services:nfs:autofs-rakan_service-record + guix-home-service guix-publish-service + deployment:services:nfs:nfs-rakan_service-record sovereign:packages:protonmail:nogui-profile offload-auth deployment:services:qemu-binfmt_rakan-record |
