nausicaa: add seaweedfs cli

This commit is contained in:
Luke Granger-Brown 2024-10-20 17:22:37 +01:00
parent 32eccdd653
commit 2e9b5e4a66

View file

@ -16,6 +16,7 @@ in {
../lib/quadv-ca/default.nix ../lib/quadv-ca/default.nix
((import ../../../third_party/lanzaboote.nix { }).nixosModules.lanzaboote) ((import ../../../third_party/lanzaboote.nix { }).nixosModules.lanzaboote)
../lib/open5gs.nix ../lib/open5gs.nix
../lib/seaweedfs.nix
]; ];
boot = lib.mkMerge [{ boot = lib.mkMerge [{
@ -311,6 +312,19 @@ in {
my.services.open5gs.enable = true; my.services.open5gs.enable = true;
my.services.open5gs.webui.secretKeyFile = pkgs.writeText "open5gs-webui-not-so-secret-key" "not-very-secret"; my.services.open5gs.webui.secretKeyFile = pkgs.writeText "open5gs-webui-not-so-secret-key" "not-very-secret";
my.services.seaweedfs.cli = {
enable = true;
settings.cluster = {
default = "rexxar";
rexxar = {
master = "rexxar.int.as205479.net:21000";
};
totoro = {
master = "totoro.int.as205479.net:21000";
};
};
};
# This value determines the NixOS release with which your system is to be # This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database # compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you # servers. You should change this only after NixOS release notes say you