nixos-config/nixos/configs/robi/tinc.nix
2022-02-07 19:13:27 +01:00

24 lines
484 B
Nix

{ config, lib, pkgs, ... }: {
imports = [ ../../system/all/tinc.nix ];
module.cluster.services.tinc = {
"private" = {
enable = true;
openPort = true;
connectTo = [ ];
};
"secret" = {
enable = true;
openPort = true;
connectTo = [ ];
};
};
#sops.secrets.tinc_retiolum_ed25519_key = { };
#sops.secrets.tinc_retiolum_rsa_key = { };
users.users."tinc.secret".group = "tinc.secret";
users.groups."tinc.secret" = { };
}