From 6a87e1a9e48635e08ed18f439cfcaf6d7a81dd3c Mon Sep 17 00:00:00 2001 From: Haak Saxberg Date: Sun, 31 Jul 2022 22:43:29 -0700 Subject: [PATCH] no double backslash in syncthing keypath --- nix/system/framework/configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/system/framework/configuration.nix b/nix/system/framework/configuration.nix index 8ca3f4f..dfe5c24 100644 --- a/nix/system/framework/configuration.nix +++ b/nix/system/framework/configuration.nix @@ -151,8 +151,8 @@ user = "haak"; dataDir = "/home/haak/synced"; configDir = "/home/haak/synced/.config/syncthing"; - cert = if builtins.pathExists "/home/haak/dotfiles/secrets//syncthing/cert.pem" then "/home/haak/dotfiles/secrets//syncthing/cert.pem" else null; - key = if builtins.pathExists "/home/haak/dotfiles/secrets//syncthing/key.pem" then "/home/haak/dotfiles/secrets//syncthing/key.pem" else null; + cert = if builtins.pathExists "/home/haak/dotfiles/secrets/syncthing/cert.pem" then "/home/haak/dotfiles/secrets/syncthing/cert.pem" else null; + key = if builtins.pathExists "/home/haak/dotfiles/secrets/syncthing/key.pem" then "/home/haak/dotfiles/secrets/syncthing/key.pem" else null; }; location.provider = "geoclue2";