1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-02 23:21:02 +01:00
home-manager/tests/modules/services/arrpc/custom-target.nix
Austin Horstman 0f9fae161d tests/arrpc: add service module test coverage
- Add custom-target.nix test for custom systemd target configuration

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-29 10:31:11 -05:00

14 lines
273 B
Nix

{
config = {
services.arrpc = {
enable = true;
systemdTarget = "sway-session.target";
};
nmt.script = ''
assertFileContent \
home-files/.config/systemd/user/arRPC.service \
${./custom-target-expected.service}
'';
};
}