Skip to content

Commit

Permalink
syncthing: add platform assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
rycee committed Sep 30, 2022
1 parent 9727190 commit 7a3384c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/services/syncthing.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 7a3384c

Please sign in to comment.