remove lighthouse

This commit is contained in:
TheWanderingCrow 2025-04-22 09:32:49 -04:00
parent 8c68d5cdd1
commit 33ca31c4fa
7 changed files with 0 additions and 116 deletions

View file

@ -42,9 +42,6 @@
live = {
enable = lib.mkEnableOption "enable live disk user";
};
lighthouse = {
enable = lib.mkEnableOption "enable nebula lighthouse server";
};
};
desktop = {
@ -100,9 +97,6 @@
live = {
enable = lib.mkDefault false;
};
lighthouse = {
enable = lib.mkDefault false;
};
};
# Desktop options are declared in their relevant modules in module/desktops

View file

@ -1,10 +0,0 @@
{
lib,
config,
...
}: {
imports = [
./user.nix
./setup.nix
];
}

View file

@ -1,29 +0,0 @@
{
lib,
inputs,
config,
...
}:
lib.mkIf config.user.lighthouse.enable {
sops = {
age.keyFile = "/var/lib/sops-nix/key.txt";
age.generateKey = true;
};
sops.secrets.cert = {};
sops.secrets.key = {};
services.nebula.networks.WCE = {
inherit (inputs.nix-secrets.nebula) ca;
enable = true;
isLighthouse = true;
cert = config.sops.secrets.cert.path;
key = config.sops.secrets.key.path;
settings = {
listen = {
host = "0.0.0.0";
port = 4242;
};
};
};
}

View file

@ -1,16 +0,0 @@
{
inputs,
lib,
config,
...
}:
lib.mkIf config.user.lighthouse.enable {
config.users.users.lighthouse = {
isNormalUser = true;
initialPassword = "changeme";
extraGroups = ["wheel"];
openssh.authorizedKeys.keyFiles = [
inputs.nix-secrets.keys.default
];
};
}