2.home-manager/tests/modules/programs/aerospace/aerospace.nix
andre4ik3 6bccb54a4f
aerospace: revert flattening on-window-detected rules (#6803)
This reverts commits 95861b5d9f and
d2c014e1c7 (PR #6778), as they broke
Aerospace configuration loading. Whilst the generated TOML configuration
wasn't the best, it was completely valid, whereas after the
aforementioned PR it was no longer valid.
2025-04-11 08:17:15 -05:00

23 lines
478 B
Nix

{
programs.aerospace = {
enable = true;
userSettings = {
gaps = {
outer.left = 8;
outer.bottom = 8;
outer.top = 8;
outer.right = 8;
};
mode.main.binding = {
alt-h = "focus left";
alt-j = "focus down";
alt-k = "focus up";
alt-l = "focus right";
};
};
};
nmt.script = ''
assertFileContent home-files/.config/aerospace/aerospace.toml ${./settings-expected.toml}
'';
}