Test something
This commit is contained in:
parent
5f3f5e8392
commit
e72f2c6375
1 changed files with 15 additions and 0 deletions
|
@ -4,6 +4,21 @@ with lib; {
|
|||
networking.firewall.interfaces."gummybears".allowedTCPPorts = [ 8384 ];
|
||||
|
||||
clanCore.facts.services.syncthing = factsGenerator.syncthing { };
|
||||
tmpfiles.settings.syncthing.d = {
|
||||
"/run/facts/syncthing" = {
|
||||
type = "d";
|
||||
user = config.services.syncthing.user;
|
||||
group = config.services.syncthing.group;
|
||||
mode = "400";
|
||||
};
|
||||
"/run/facts/syncthing.key" = {
|
||||
type = "C";
|
||||
user = config.services.syncthing.user;
|
||||
group = config.services.syncthing.group;
|
||||
mode = "400";
|
||||
argument = config.clanCore.facts.services.syncthing.secret."syncthing.key".path;
|
||||
};
|
||||
};
|
||||
|
||||
services.syncthing = {
|
||||
guiAddress = lib.mkDefault "${config.networking.hostName}.${ config.clan.static-hosts.topLevelDomain }:8384";
|
||||
|
|
Loading…
Reference in a new issue