mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Replace builtins.toString with toString
This commit is contained in:
parent
c18caea0de
commit
c3cfcf1b61
15 changed files with 24 additions and 24 deletions
|
|
@ -78,7 +78,7 @@ in
|
|||
group = lib.mkIf (!cfg.isServer) "users";
|
||||
dataDir = lib.mkIf (!cfg.isServer) "/home/seb";
|
||||
|
||||
guiAddress = lib.mkIf cfg.isServer "localhost:${builtins.toString cfg.gui.port}";
|
||||
guiAddress = lib.mkIf cfg.isServer "localhost:${toString cfg.gui.port}";
|
||||
|
||||
cert = lib.mkIf useStaticTls config.sops.secrets."syncthing/cert".path;
|
||||
key = lib.mkIf useStaticTls config.sops.secrets."syncthing/key".path;
|
||||
|
|
@ -92,7 +92,7 @@ in
|
|||
|> lib.mapAttrs (
|
||||
name: value: {
|
||||
id = value.config.custom.services.syncthing.deviceId;
|
||||
addresses = [ "tcp://${name}.${tailscaleCfg.domain}:${builtins.toString cfg.syncPort}" ];
|
||||
addresses = [ "tcp://${name}.${tailscaleCfg.domain}:${toString cfg.syncPort}" ];
|
||||
}
|
||||
);
|
||||
|
||||
|
|
@ -116,7 +116,7 @@ in
|
|||
];
|
||||
|
||||
options = {
|
||||
listenAddress = "tcp://0.0.0.0:${builtins.toString cfg.syncPort}";
|
||||
listenAddress = "tcp://0.0.0.0:${toString cfg.syncPort}";
|
||||
globalAnnounceEnabled = false;
|
||||
localAnnounceEnabled = false;
|
||||
relaysEnabled = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue