properly set up retiolum

This commit is contained in:
Ingolf Wagner 2024-06-11 13:44:14 +02:00
commit c16df33d29
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
3 changed files with 30 additions and 1 deletions

View file

@ -12,6 +12,7 @@
./qemu.nix
./network-tinc.nix
./network-tinc_retiolum.nix
./network-wireguard.nix
./37c3.nix

View file

@ -0,0 +1,27 @@
{ 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"
# ];
#};
}