Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PrivateStorageio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PrivateStorage
PrivateStorageio
Commits
54def155
Commit
54def155
authored
2 years ago
by
Jean-Paul Calderone
Browse files
Options
Downloads
Patches
Plain Diff
re-indent because emacs demands it
parent
ca411d9e
No related branches found
No related tags found
2 merge requests
!395
Add a read-only Great Black Swamp storage server to each storage node
,
!384
update production
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
nixos/modules/private-storage.nix
+57
-57
57 additions, 57 deletions
nixos/modules/private-storage.nix
with
57 additions
and
57 deletions
nixos/modules/private-storage.nix
+
57
−
57
View file @
54def155
...
...
@@ -98,9 +98,9 @@ in
config
=
lib
.
mkIf
cfg
.
enable
{
services
.
tahoe
.
nodes
.
"
${
storage-node-name
}
"
=
{
package
=
cfg
.
tahoe
.
package
;
# Each attribute in this set corresponds to a section in the
tahoe.cfg
#
file. Attributes on those sets correspond to individual
assignments
#
in those sections.
# Each attribute in this set corresponds to a section in the
# tahoe.cfg
file. Attributes on those sets correspond to individual
# assignments
in those sections.
#
# We just populate this according to policy/preference of Private
# Storage.
...
...
@@ -112,11 +112,12 @@ in
# XXX Should try to name that is unique across the grid.
{
nickname
=
"
${
storage-node-name
}
"
;
# We have the web port active because the CLI uses it and because it
# exposes a metrics endpoint for our monitoring system. The actual
# port configuration lives in systemd so that it can order binding
# the socket correctly with other dependencies (which we can't
# reliably do with Tahoe without a bunch of other work).
# We have the web port active because the CLI uses it and
# because it exposes a metrics endpoint for our monitoring
# system. The actual port configuration lives in systemd so
# that it can order binding the socket correctly with other
# dependencies (which we can't reliably do with Tahoe
# without a bunch of other work).
"web.port"
=
"systemd:domain=INET:index=0"
;
# We have to tell Tahoe-LAFS where to listen for Foolscap
...
...
@@ -158,6 +159,5 @@ in
# Provide a useful tool for reporting about shares.
ourpkgs
.
leasereport
];
};
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment