1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-07 01:07:00 +00:00
home-manager/tests/modules/services/fusuma/service.nix

22 lines
496 B
Nix
Raw Normal View History

{ config, ... }:
{
imports = [ ./fusuma-stubs.nix ];
services.fusuma = {
enable = true;
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}
'';
}