This commit is contained in:
parent
7e92d09299
commit
1fd1c845e8
3 changed files with 7 additions and 6 deletions
|
@ -119,6 +119,7 @@
|
||||||
group = "forgejo";
|
group = "forgejo";
|
||||||
};
|
};
|
||||||
"matrix-registration-shared-secret".owner = "matrix-synapse";
|
"matrix-registration-shared-secret".owner = "matrix-synapse";
|
||||||
|
"arbi-config".owner = "arbi";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, ... }:
|
||||||
let
|
let
|
||||||
rev = "d531730d9640160f0519ef4b3640f8da49dd96f8";
|
rev = "d531730d9640160f0519ef4b3640f8da49dd96f8";
|
||||||
arbi-flake = builtins.getFlake "git+ssh://git@github.com/aciceri/arbi.git?rev=${rev}";
|
arbi-flake = builtins.getFlake "git+ssh://git@github.com/aciceri/arbi.git?rev=${rev}";
|
||||||
|
@ -9,11 +9,7 @@ in
|
||||||
services.arbi = {
|
services.arbi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
log_level = "debug";
|
log_level = "debug";
|
||||||
configFile = pkgs.writeText "arbi-config.kdl" ''
|
configFile = config.age.secrets.arbi-config.path;
|
||||||
endpoint "wss://eth-mainnet.g.alchemy.com/v2/<REDACTED>"
|
|
||||||
pairs_file "pairs.json"
|
|
||||||
concurrency 4
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.persistence."/persist".directories = [
|
environment.persistence."/persist".directories = [
|
||||||
|
|
|
@ -153,6 +153,10 @@ with keys.users;
|
||||||
ccr-ssh
|
ccr-ssh
|
||||||
sisko
|
sisko
|
||||||
];
|
];
|
||||||
|
"arbi-config.age".publicKeys = [
|
||||||
|
ccr-ssh
|
||||||
|
sisko
|
||||||
|
];
|
||||||
|
|
||||||
# WireGuard
|
# WireGuard
|
||||||
"picard-wireguard-private-key.age".publicKeys = [
|
"picard-wireguard-private-key.age".publicKeys = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue