mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
16 lines
283 B
Nix
16 lines
283 B
Nix
{ lib, ... }:
|
|
let
|
|
myceliumAddresses = import ../lib/mycelium-network.nix;
|
|
in
|
|
{
|
|
services.mycelium = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
};
|
|
|
|
networking.hosts = lib.mapAttrs' (name: address: {
|
|
name = address;
|
|
value = [ "${name}.m" ];
|
|
}) myceliumAddresses;
|
|
}
|