28 lines
746 B
Nix
28 lines
746 B
Nix
|
{ config, factsGenerator, ... }:
|
||
|
{
|
||
|
|
||
|
clanCore.facts.services.tinc_retiolum = factsGenerator.tinc { name = "retiolum"; };
|
||
|
|
||
|
networking.retiolum.port = 720;
|
||
|
networking.retiolum.nodename = "cherry";
|
||
|
|
||
|
services.tinc.networks.retiolum = {
|
||
|
ed25519PrivateKeyFile = config.clanCore.facts.services.tinc_retiolum.secret."tinc.retiolum.ed25519_key.priv".path;
|
||
|
rsaPrivateKeyFile = config.clanCore.facts.services.tinc_retiolum.secret."tinc.retiolum.rsa_key.priv".path;
|
||
|
};
|
||
|
|
||
|
#fileSystems."/retiolum/sicily" = {
|
||
|
# device = "//sicily.r/tonne";
|
||
|
# fsType = "cifs";
|
||
|
# options = [
|
||
|
# "guest"
|
||
|
# "nofail"
|
||
|
# "noauto"
|
||
|
# "ro"
|
||
|
# "rsize=16777216"
|
||
|
# "cache=loose"
|
||
|
# "x-systemd.after=network.target"
|
||
|
# ];
|
||
|
#};
|
||
|
}
|