nixos-config/machines/cherry/network-tinc_retiolum.nix

28 lines
749 B
Nix
Raw Normal View History

2024-06-11 13:44:14 +02:00
{ config, factsGenerator, ... }:
{
2024-06-19 13:19:55 +02:00
clan.core.facts.services.tinc_retiolum = factsGenerator.tinc { name = "retiolum"; };
2024-06-11 13:44:14 +02:00
networking.retiolum.port = 720;
networking.retiolum.nodename = "cherry";
services.tinc.networks.retiolum = {
2024-06-19 13:19:55 +02:00
ed25519PrivateKeyFile = config.clan.core.facts.services.tinc_retiolum.secret."tinc.retiolum.ed25519_key.priv".path;
rsaPrivateKeyFile = config.clan.core.facts.services.tinc_retiolum.secret."tinc.retiolum.rsa_key.priv".path;
2024-06-11 13:44:14 +02:00
};
#fileSystems."/retiolum/sicily" = {
# device = "//sicily.r/tonne";
# fsType = "cifs";
# options = [
# "guest"
# "nofail"
# "noauto"
# "ro"
# "rsize=16777216"
# "cache=loose"
# "x-systemd.after=network.target"
# ];
#};
}