mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
syncthing: add platform assertion
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user