feat(steveej-x13s): configure mycelium service
This commit is contained in:
parent
adff5d7a37
commit
bca2d47a40
1 changed files with 21 additions and 0 deletions
|
@ -59,6 +59,8 @@
|
|||
};
|
||||
|
||||
imports = [
|
||||
"${nodeFlake.inputs.nixpkgs-unstable}/nixos/modules/services/networking/mycelium.nix"
|
||||
|
||||
nodeFlake.inputs.nixos-x13s.nixosModules.default
|
||||
|
||||
repoFlake.inputs.sops-nix.nixosModules.sops
|
||||
|
@ -218,6 +220,25 @@
|
|||
"nixos-x13s.cachix.org-1:SzroHbidolBD3Sf6UusXp12YZ+a5ynWv0RtYF0btFos="
|
||||
];
|
||||
|
||||
sops.secrets.mycelium-key = {
|
||||
format = "binary";
|
||||
sopsFile = repoFlake + "/secrets/steveej-x13s/mycelium_priv_key.bin.enc";
|
||||
};
|
||||
|
||||
services.mycelium = {
|
||||
enable = true;
|
||||
package = nodeFlake.inputs.mycelium.packages.${system}.mycelium;
|
||||
keyFile = config.sops.secrets.mycelium-key.path;
|
||||
addHostedPublicNodes = true;
|
||||
peers = [
|
||||
];
|
||||
|
||||
# tunName = "mycelium-pub";
|
||||
|
||||
extraArgs = [
|
||||
];
|
||||
};
|
||||
|
||||
steveej.holo-zerotier = {
|
||||
enable = true;
|
||||
autostart = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue