1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 11:36:05 +01:00

syncthing: assert tray service content in test

This commit is contained in:
Robert Helgesson 2025-09-25 09:38:48 +02:00
parent ade850153b
commit 2324540520

View file

@ -3,5 +3,21 @@
nmt.script = ''
assertFileExists home-files/.config/systemd/user/syncthingtray.service
assertFileContent \
home-files/.config/systemd/user/syncthingtray.service \
${builtins.toFile "syncthingtray-expected.service" ''
[Install]
WantedBy=graphical-session.target
[Service]
ExecStart=@syncthingtray@/bin/syncthingtray --wait
[Unit]
After=graphical-session.target
After=tray.target
Description=syncthingtray
PartOf=graphical-session.target
Requires=tray.target
''}
'';
}