mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
mycelium host aliases for all
This commit is contained in:
@@ -1,7 +1,15 @@
|
|||||||
{ ... }:
|
{ lib, ... }:
|
||||||
|
let
|
||||||
|
myceliumAddresses = import ../lib/mycelium-network.nix;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
services.mycelium = {
|
services.mycelium = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
networking.hosts = lib.mapAttrs' (name: address: {
|
||||||
|
name = address;
|
||||||
|
value = [ "${name}.m" ];
|
||||||
|
}) myceliumAddresses;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,7 @@
|
|||||||
{
|
{
|
||||||
zaatar = "5c5:49e0:7793:f017:59e1:1715:9e0e:3fc8";
|
zaatar = "5c5:49e0:7793:f017:59e1:1715:9e0e:3fc8";
|
||||||
fatteh = "463:a0d4:daa3:aa8d:a9b1:744a:46a5:7a80";
|
fatteh = "463:a0d4:daa3:aa8d:a9b1:744a:46a5:7a80";
|
||||||
|
ful = "5bf:d60e:bebf:5163:f495:8787:880c:6d41";
|
||||||
|
kibbeh = "432:e30:d5d8:9311:e34b:6587:96ee:3fcb";
|
||||||
|
makanek = "43f:ad4f:fa67:d9f7:8a56:713c:7418:164b";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
../../configs/nix.nix
|
../../configs/nix.nix
|
||||||
../../configs/flix.nix
|
../../configs/flix.nix
|
||||||
../../configs/fonts.nix
|
../../configs/fonts.nix
|
||||||
|
../../configs/mycelium.nix
|
||||||
../../configs/retiolum.nix
|
../../configs/retiolum.nix
|
||||||
../../configs/sshd.nix
|
../../configs/sshd.nix
|
||||||
../../configs/sudo.nix
|
../../configs/sudo.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user