mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-02-01 11:04:20 -05:00
move boot.loader into hardware config for all hosts
This commit is contained in:
parent
62ccd0a91e
commit
c3b513ea0a
8 changed files with 43 additions and 35 deletions
|
|
@ -6,28 +6,25 @@
|
|||
...
|
||||
}:
|
||||
lib.mkIf config.user.lighthouse.enable {
|
||||
sops = {
|
||||
age.keyFile = "/var/lib/sops-nix/key.txt";
|
||||
age.generateKey = true;
|
||||
};
|
||||
|
||||
|
||||
sops = {
|
||||
age.keyFile = "/var/lib/sops-nix/key.txt";
|
||||
age.generateKey = true;
|
||||
sops.secrets.cert = {};
|
||||
sops.secrets.key = {};
|
||||
|
||||
services.nebula.networks.test = {
|
||||
enable = true;
|
||||
isLighthouse = true;
|
||||
ca = inputs.nix-secrets.nebula.ca;
|
||||
cert = config.sops.secrets.cert.path;
|
||||
key = config.sops.secrets.key.path;
|
||||
settings = {
|
||||
listen = {
|
||||
host = "0.0.0.0";
|
||||
port = 4242;
|
||||
};
|
||||
|
||||
sops.secrets.cert = {};
|
||||
sops.secrets.key = {};
|
||||
|
||||
services.nebula.networks.test = {
|
||||
enable = true;
|
||||
isLighthouse = true;
|
||||
ca = inputs.nix-secrets.nebula.ca;
|
||||
cert = config.sops.secrets.cert.path;
|
||||
key = config.sops.secrets.key.path;
|
||||
settings = {
|
||||
listen = {
|
||||
host = "0.0.0.0";
|
||||
port = 4242;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue