1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-18 07:49:48 +01:00
home-manager/tests/modules/services/fnott/systemd-user-service.nix

19 lines
407 B
Nix
Raw Normal View History

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