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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PrivateStorage
PrivateStorageio
Commits
60ee50c3
Commit
60ee50c3
authored
5 years ago
by
Jean-Paul Calderone
Browse files
Options
Downloads
Patches
Plain Diff
enable tahoe-lafs
parent
0f53d9de
No related branches found
Branches containing commit
No related tags found
1 merge request
!2
Testing and production grids
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
morph/staging002.nix
+13
-1
13 additions, 1 deletion
morph/staging002.nix
with
13 additions
and
1 deletion
morph/staging002.nix
+
13
−
1
View file @
60ee50c3
...
...
@@ -8,7 +8,10 @@ in
./staging002-hardware.nix
# Configure it as a system operated by 100TB.
../nixos/modules/100tb.nix
];
# Bring in our module for configuring the Tahoe-LAFS service and other
# Private Storage-specific things.
../nixos/modules/private-storage.nix
];
# Pass the configuration specific to this host to the 100TB module to be
# expanded into a complete system configuration. See the 100tb module for
...
...
@@ -18,6 +21,15 @@ in
# it should be a number.
"100tb"
.
config
=
cfg
;
# Turn on the Private Storage (Tahoe-LAFS) service.
services
.
private-storage
=
{
enable
=
true
;
# Get the public IPv4 address from the node configuration.
inherit
(
cfg
)
publicIPv4
;
# And the port to operate on is specified via parameter.
inherit
publicStoragePort
;
};
# This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you
...
...
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