mirror of
https://github.com/nix-community/home-manager
synced 2024-11-24 12:09:46 +01:00
24 lines
593 B
Nix
24 lines
593 B
Nix
{ 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 \
|
|
home-files/.config/fusuma/config.yml \
|
|
${./expected-settings.yaml}
|
|
'';
|
|
}
|