hosts/TITAN: add ipfs-cluster
This commit is contained in:
parent
e1eaee8df6
commit
a5d3a35436
4 changed files with 34 additions and 0 deletions
20
hosts/TITAN/extras/ipfs-cluster.nix
Normal file
20
hosts/TITAN/extras/ipfs-cluster.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ config, inputs, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
inputs.depot.nixosModules.ipfs-cluster
|
||||
];
|
||||
|
||||
age.secrets.ipfs-cluster-secret = {
|
||||
file = ../../../secrets/ipfs-cluster-secret.age;
|
||||
};
|
||||
|
||||
services.ipfs-cluster = {
|
||||
enable = true;
|
||||
package = inputs.depot.packages.${pkgs.system}.ipfs-cluster;
|
||||
consensus = "crdt";
|
||||
dataDir = "/persist/ipfs/cluster";
|
||||
secretFile = config.age.secrets.ipfs-cluster-secret.path;
|
||||
openSwarmPort = true;
|
||||
};
|
||||
}
|
|
@ -8,6 +8,7 @@
|
|||
./extras/custom-kernel.nix
|
||||
./extras/ddcci-backlight.nix
|
||||
./extras/fbi-downloader.nix
|
||||
./extras/ipfs-cluster.nix
|
||||
(import ../../users "desktop").users.max
|
||||
inputs.agenix.nixosModules.age
|
||||
]
|
||||
|
|
12
secrets/ipfs-cluster-secret.age
Normal file
12
secrets/ipfs-cluster-secret.age
Normal file
|
@ -0,0 +1,12 @@
|
|||
age-encryption.org/v1
|
||||
-> ssh-ed25519 NO562A 61pd5G711Z/gH3xjWN+4ouXnvdyvQpIn/Mx26oRP70s
|
||||
SWnAWt636Y3pwGXWVveGWFxIWhA8fUtORRXa9pGBLss
|
||||
-> ssh-ed25519 5/zT0w dtPtly9FjK3apZyOKau5tritkWJP4CAfJl83oeoP0Qw
|
||||
ugUFDwEmgNL5AXX/4clk4Kmqn75WnVQYPcSrf/ZHULQ
|
||||
-> ssh-ed25519 OxDh5w 2P3Cnr4Lte/X1HhC97lNDCWZMUTnB36s0zm3qgjrWAg
|
||||
AkiNTO1yFOZiL5Mlei5LV8T4KcqvQrI8CBrFw40p5qQ
|
||||
-> a`4p-\~-grease |8Wx\m
|
||||
BKDcnNAvoBB9X/ECaIUPPmsUPfXgCyRSkIOPvFyvKrBLcOxLl6CdItEVqx9lzIvS
|
||||
tEkzbxJmOH2pUnJ5bvAgVVc7G6bDUzsJ
|
||||
--- +AkHboriE+9UKe/mUoa6lJ/ZvN6OqU3a9m0ut7do5co
|
||||
¤<>UÑš9bÊœFs'»au¦ÝkÇ<6B>†ö;&Þ2šæ×å{È÷QƒÊàÍxcÄËßãF×1úMo…±²!¬„Zy›¯»=à´2¶tº›X›ì^ݲs”ÆR7Z0T¶ãyt:<3A><>ÿTé}ò•:êÄ
|
|
@ -8,6 +8,7 @@ in with hosts;
|
|||
"cachix-upload-key.age".publicKeys = max ++ map systemKeys [ TITAN ];
|
||||
"hyprspace-key-TITAN.age".publicKeys = max ++ map systemKeys [ TITAN ];
|
||||
"hyprspace-key-jericho.age".publicKeys = max ++ map systemKeys [ jericho ];
|
||||
"ipfs-cluster-secret.age".publicKeys = max ++ map systemKeys [ TITAN ];
|
||||
"ipfs-swarm-key.age".publicKeys = max ++ map systemKeys [ TITAN jericho ];
|
||||
"transmission-rpc-password.age".publicKeys = max ++ map systemKeys [ TITAN ];
|
||||
"wireguard-key-upload.age".publicKeys = max ++ map systemKeys [ TITAN ];
|
||||
|
|
Loading…
Reference in a new issue