1
0
mirror of https://github.com/nix-community/home-manager synced 2024-07-03 11:53:27 +02:00
home-manager/tests/modules/programs/foot/systemd-user-service.nix

20 lines
421 B
Nix
Raw Normal View History

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