1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2024-12-14 11:57:55 +00:00

syncthing: add platform assertion

This commit is contained in:
Robert Helgesson 2022-09-30 22:27:35 +02:00
parent 9727190b80
commit 7a3384c796
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -57,6 +57,11 @@ in {
config = mkMerge [ config = mkMerge [
(mkIf cfg.enable { (mkIf cfg.enable {
assertions = [
(lib.hm.assertions.assertPlatform "services.syncthing" pkgs
lib.platforms.linux)
];
home.packages = [ (getOutput "man" pkgs.syncthing) ]; home.packages = [ (getOutput "man" pkgs.syncthing) ];
systemd.user.services = { systemd.user.services = {