mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-17 06:11:21 +01:00
komorebi-for-kde/nix/ -> nix/linux/ komorebi-for-mac/nix/ -> nix/macos/ The nix expressions of the platforms (modules, option files, VM test suites, kwin effects, the darwin module) sit next to the existing nix/workspace-src.nix. Renames only (252 files); the flakes that import them are replaced by one root flake later in this stack, so nix does not evaluate at this revision.
22 lines
704 B
Nix
22 lines
704 B
Nix
{
|
|
tier = "slow";
|
|
kind = "session";
|
|
timeoutMinutes = 10;
|
|
node =
|
|
{ config, pkgs, ... }:
|
|
{
|
|
# static shortcuts work with no komorebi process, and this test runs none
|
|
services.komorebi.enable = false;
|
|
|
|
# The shortcut files of keys.skhdrc, as `komorebic hotkeys compile` writes them, in the system
|
|
# profile, where KWin finds them when the session starts
|
|
environment.systemPackages = [
|
|
config.services.komorebi.package
|
|
(pkgs.runCommand "komorebi-keys-static" { } ''
|
|
${config.services.komorebi.package}/bin/komorebic hotkeys compile --mode auto \
|
|
${./keys.skhdrc} --output $out/share/kglobalaccel
|
|
'')
|
|
];
|
|
};
|
|
}
|