home-manager/tests/modules/services/fnott/systemd-user-service.nix

17 lines
345 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
{
config = {
services.fnott = {
enable = true;
package = pkgs.writeScriptBin "dummy-foot" "" // { outPath = "@fnott@"; };
};
nmt.script = ''
assertFileContent \
home-files/.config/systemd/user/fnott.service \
${./systemd-user-service-expected.service}
'';
};
}