1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-14 07:09:45 +01:00
home-manager/tests/modules/services/fnott/systemd-user-service.nix

21 lines
483 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
{
config = {
services.fnott = {
enable = true;
package = config.lib.test.mkStubPackage { outPath = "@fnott@"; };
};
nmt.script = ''
assertFileContent \
home-files/.config/systemd/user/fnott.service \
${./systemd-user-service-expected.service}
assertFileContent \
home-files/.local/share/dbus-1/services/fnott.service \
${./systemd-user-dbus-service-expected.service}
'';
};
}