75fa0ae5af
GitOrigin-RevId: c3ab5ea047e6dc73df530948f7367455749d8906
20 lines
483 B
Nix
20 lines
483 B
Nix
{ 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}
|
|
'';
|
|
};
|
|
}
|