Skip to content

Commit

Permalink
fix(syncthing): problem during installation a fresh NixOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Wittano committed Nov 13, 2023
1 parent 38b3650 commit a62350b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/services/syncthing.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ in
};
};

config = mkIf cfg.enable {
config = mkIf (cfg.enable && builtins.pathExists config.age.secrets.syncthing.path) {
services.syncthing = {
enable = true;
systemService = true;
Expand Down

0 comments on commit a62350b

Please sign in to comment.