1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-01 16:59:43 +01:00
home-manager/tests/modules/services/fusuma/settings.nix

25 lines
593 B
Nix
Raw Normal View History

{ config, ... }:
{
services.fusuma = {
enable = true;
package = config.lib.test.mkStubPackage { outPath = "@fusuma@"; };
extraPackages = [ (config.lib.test.mkStubPackage { }) ];
settings = {
threshold = { swipe = 1; };
interval = { swipe = 7; };
swipe = {
"3" = { left = { command = "xdotool key ctrl+alt+Right"; }; };
"4" = { left = { command = "xdotool key ctrl+shift+alt+Right"; }; };
};
};
};
nmt.script = ''
assertFileContent \
2024-02-23 13:25:32 +01:00
home-files/.config/fusuma/config.yml \
${./expected-settings.yaml}
'';
}