2021-11-04 16:42:44 +00:00
|
|
|
{ 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}
|
2023-08-08 10:19:01 +00:00
|
|
|
|
|
|
|
assertFileContent \
|
|
|
|
home-files/.local/share/dbus-1/services/fnott.service \
|
|
|
|
${./systemd-user-dbus-service-expected.service}
|
2021-11-04 16:42:44 +00:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|