mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
syncthing: add platform assertion
This commit is contained in:
parent
9727190b80
commit
7a3384c796
1 changed files with 5 additions and 0 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue