dev.fron.io rc / c93ecc7
system(delta): modify ipfs Tony Olagbaiye a month ago
2 changed file(s) with 7 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
133133 (gnu system file-systems)))
134134 (start #~(make-forkexec-constructor/container
135135 #$ipfs-daemon-command
136 #:namespaces '#$(fold delq %namespaces '(user net))
136 #:namespaces '#$(fold delq %namespaces
137 `(user net
138 ,@(if (ipfs-configuration-mount config)
139 '(mnt) '())))
137140 #:mappings (list #$%ipfs-home-mapping
138141 #$%ipfs-mount-ipfs-mapping
139142 #$%ipfs-mount-ipns-mapping)
197197 (service ipfs-service-type
198198 (ipfs-configuration
199199 (migrate #t)
200 (mount #f)
200 (mount #t)
201 (settings '(("Experimental.AcceleratedDHTClient" "true")))
201202 (args '("--enable-pubsub-experiment"
202203 "--enable-namesys-pubsub"))))
203204 (service nftables-service-type
366367 (plain-file "doas.conf"
367368 (string-join (list
368369 "permit nopass keepenv root" ; allowed to do anything
369 "permit nopass setenv { SSH_AUTH_SOCK } :wheel"
370 "permit nopass setenv { SSH_AUTH_SOCK IPFS_PATH } :wheel"
370371 "")
371372 "\n")))
372373 (service home-service-type