This reverts commits95861b5d9fandd2c014e1c7(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.
23 lines
478 B
Nix
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}
|
|
'';
|
|
}
|