1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-26 19:59:47 +01:00
home-manager/tests/modules/services/fusuma/service.nix
iosmanthus 8bdfa41b4e
fusuma: add module
Fusuma is a tool supports multitouch gestures with libinput driver on
Linux.
2022-03-13 22:17:55 +01:00

19 lines
462 B
Nix

{ 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@"; })
];
settings = { };
};
nmt.script = ''
assertFileContent \
home-files/.config/systemd/user/fusuma.service \
${./expected-service.service}
'';
}