mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
remove lighthouse
This commit is contained in:
parent
8c68d5cdd1
commit
33ca31c4fa
7 changed files with 0 additions and 116 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./user.nix
|
||||
./setup.nix
|
||||
];
|
||||
}
|
||||
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue