pi5
This commit is contained in:
@@ -10,9 +10,9 @@ let
|
||||
name = "nebula-lighthouse";
|
||||
cfg = config.${namespace}.services.${name};
|
||||
rootUrl = "https://lighthouse.${namespace}.dev/";
|
||||
ca = config.sops.secrets."pi4/nebula/ca-cert".path;
|
||||
cert = config.sops.secrets."pi4/nebula/lighthouse-cert".path;
|
||||
key = config.sops.secrets."pi4/nebula/lighthouse-key".path;
|
||||
ca = config.sops.secrets."pi5/nebula/ca-cert".path;
|
||||
cert = config.sops.secrets."pi5/nebula/lighthouse-cert".path;
|
||||
key = config.sops.secrets."pi5/nebula/lighthouse-key".path;
|
||||
|
||||
nebulaConfig = lib.${namespace}.mkModule {
|
||||
inherit config name;
|
||||
|
||||
@@ -13,28 +13,28 @@ in
|
||||
config = mkIf cfg.enable {
|
||||
sops = {
|
||||
secrets = {
|
||||
"pi4/nebula/ca-cert" = {
|
||||
sopsFile = (lib.snowfall.fs.get-file "secrets/pi4-secrets.yaml");
|
||||
"pi5/nebula/ca-cert" = {
|
||||
sopsFile = (lib.snowfall.fs.get-file "secrets/pi5-secrets.yaml");
|
||||
owner = "nebula-jallen-nebula";
|
||||
group = "nebula-jallen-nebula";
|
||||
restartUnits = [ "nebula@jallen-nebula.service" ];
|
||||
};
|
||||
|
||||
"pi4/nebula/ca-key" = {
|
||||
sopsFile = (lib.snowfall.fs.get-file "secrets/pi4-secrets.yaml");
|
||||
"pi5/nebula/ca-key" = {
|
||||
sopsFile = (lib.snowfall.fs.get-file "secrets/pi5-secrets.yaml");
|
||||
owner = "nebula-jallen-nebula";
|
||||
group = "nebula-jallen-nebula";
|
||||
restartUnits = [ "nebula@jallen-nebula.service" ];
|
||||
};
|
||||
|
||||
"pi4/nebula/lighthouse-cert" = {
|
||||
sopsFile = (lib.snowfall.fs.get-file "secrets/pi4-secrets.yaml");
|
||||
"pi5/nebula/lighthouse-cert" = {
|
||||
sopsFile = (lib.snowfall.fs.get-file "secrets/pi5-secrets.yaml");
|
||||
owner = "nebula-jallen-nebula";
|
||||
group = "nebula-jallen-nebula";
|
||||
restartUnits = [ "nebula@jallen-nebula.service" ];
|
||||
};
|
||||
"pi4/nebula/lighthouse-key" = {
|
||||
sopsFile = (lib.snowfall.fs.get-file "secrets/pi4-secrets.yaml");
|
||||
"pi5/nebula/lighthouse-key" = {
|
||||
sopsFile = (lib.snowfall.fs.get-file "secrets/pi5-secrets.yaml");
|
||||
owner = "nebula-jallen-nebula";
|
||||
group = "nebula-jallen-nebula";
|
||||
restartUnits = [ "nebula@v-nebula.service" ];
|
||||
|
||||
Reference in New Issue
Block a user