From 7a3384c7969f50e6e3799f8d1c7817b698dd77d3 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Fri, 30 Sep 2022 22:27:35 +0200 Subject: [PATCH] syncthing: add platform assertion --- modules/services/syncthing.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/services/syncthing.nix b/modules/services/syncthing.nix index 97ad58629..2f9cecdb4 100644 --- a/modules/services/syncthing.nix +++ b/modules/services/syncthing.nix @@ -57,6 +57,11 @@ in { config = mkMerge [ (mkIf cfg.enable { + assertions = [ + (lib.hm.assertions.assertPlatform "services.syncthing" pkgs + lib.platforms.linux) + ]; + home.packages = [ (getOutput "man" pkgs.syncthing) ]; systemd.user.services = {