feat(bm-hostkey0): set up mycelium
This commit is contained in:
parent
698e269b13
commit
94c64eb05a
5 changed files with 66 additions and 21 deletions
|
@ -93,6 +93,8 @@ in {
|
|||
users.defaultUserShell = pkgs.zsh;
|
||||
environment.pathsToLink = ["/share/zsh"];
|
||||
}
|
||||
|
||||
../../snippets/mycelium.nix
|
||||
];
|
||||
|
||||
services.openssh.enable = true;
|
||||
|
|
|
@ -59,8 +59,6 @@
|
|||
};
|
||||
|
||||
imports = [
|
||||
"${nodeFlake.inputs.nixpkgs-unstable}/nixos/modules/services/networking/mycelium.nix"
|
||||
|
||||
nodeFlake.inputs.nixos-x13s.nixosModules.default
|
||||
|
||||
repoFlake.inputs.sops-nix.nixosModules.sops
|
||||
|
@ -69,6 +67,7 @@
|
|||
|
||||
../../snippets/nix-settings.nix
|
||||
../../snippets/nix-settings-holo-chain.nix
|
||||
../../snippets/mycelium.nix
|
||||
../../profiles/common/user.nix
|
||||
|
||||
{
|
||||
|
@ -220,25 +219,6 @@
|
|||
"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