1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-09 12:49:44 +01:00
home-manager/tests/modules/services/fusuma/service.nix

21 lines
530 B
Nix
Raw Normal View History

{ config, ... }:
{
services.fusuma = {
enable = true;
package = config.lib.test.mkStubPackage { outPath = "@fusuma@"; };
extraPackages = [
(config.lib.test.mkStubPackage { outPath = "@coreutils@"; })
(config.lib.test.mkStubPackage { outPath = "@xdotool@"; })
2024-02-23 13:25:32 +01:00
(config.lib.test.mkStubPackage { outPath = "@xorg.xprop@"; })
];
settings = { };
};
nmt.script = ''
assertFileContent \
home-files/.config/systemd/user/fusuma.service \
${./expected-service.service}
'';
}