2024-06-02 21:38:48 +02:00
|
|
|
{ config, factsGenerator, ... }:
|
2023-12-17 13:06:57 +01:00
|
|
|
{
|
2024-06-02 21:38:48 +02:00
|
|
|
|
|
|
|
clanCore.facts.services.tinc_retiolum = factsGenerator.tinc { name = "retiolum"; };
|
2023-12-17 13:06:57 +01:00
|
|
|
|
|
|
|
networking.retiolum.port = 720;
|
|
|
|
networking.retiolum.nodename = "sol";
|
|
|
|
|
|
|
|
services.tinc.networks.retiolum = {
|
2024-06-02 21:38:48 +02:00
|
|
|
ed25519PrivateKeyFile = config.clanCore.facts.services.tinc_secret.secret."tinc.retiolum.ed25519_key.priv".path;
|
|
|
|
rsaPrivateKeyFile = config.clanCore.facts.services.tinc_secret.secret."tinc.retiolum.rsa_key.priv".path;
|
2023-12-17 13:06:57 +01:00
|
|
|
};
|
2024-06-02 21:38:48 +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"
|
|
|
|
# ];
|
|
|
|
#};
|
|
|
|
|
2023-12-17 13:06:57 +01:00
|
|
|
}
|